googlearchive / paper-menu

A Material Design menu
https://www.webcomponents.org/element/PolymerElements/paper-menu
27 stars 48 forks source link

Content styling #68

Open NullDivision opened 8 years ago

NullDivision commented 8 years ago

It would be nice to have a way to modify the .selectable-content. As is, I can't add iron-flex-layout to the .selectable-content and instead have to apply it to the items.

josiah47 commented 8 years ago

I also needed this for flex layout, I ended up adding this: .selectable-content {@apply(--paper-menu-selectable-content);} to paper-menu-shared-styles-html then was able to: --paper-menu-selectable-content: { @apply(--layout-vertical); @apply(--layout-flex); };