googlearchive / paper-item

A simple list/menu item à la Material Design
7 stars 8 forks source link

Still wrong height? #15

Open Wurper opened 9 years ago

Wurper commented 9 years ago

Should the CSS rule height: 100% still be there?

polyfill-next-selector { content: '.button-content > a'; }
      ::content > a {
        height: 100%;
        /* flex */
        -ms-flex: 1 1 0.000000001px;
        -webkit-flex: 1;
        flex: 1;
        -webkit-flex-basis: 0.000000001px;
        flex-basis: 0.000000001px;
      }
kweiberth commented 9 years ago

I'm having issues with changing the height of paper-items within a core-menu, within a paper-dropdown. If I use CSS to change the height of paper-item, the height of the item changes but the text (content) seems to not adapt and stays in the same place (as if it was still a larger item). This the causes the paper-dropdown to become scrollable and the formatting is messed up. I did notice this ::content area and it's height rules, but I do not know how to access them to change them.