appmaker - How to create a (CSS) style variant for a dropdown widget, to target its list rows with it? -
as title states, need create 'compact' style variant dropdown widget. can't figure out how target dropdown items (rows) it. works target dropdowns:
.app-dropdown-item { padding: 0px !important; } here's how i've tried style variant target specific widgets:
.app-dropdown--compact .app-dropdown-item { padding: 0px !important; } this has worked me before, tabs-widget's header:
.app-tabs--redbg .app-tabs-header { background-color: red; color: white; } i suspect have list items being not immediate sub-items of dropdown widget, i'm not sure.
thanks help!
it looks not possible create custom style variants dropdown items @ time... so, way style dropdown items individually write style particular dropdown:
.app-pagename-dropdownname-list > .app-dropdown-item { padding: 0px; /* seems rule works without !important */ }
Comments
Post a Comment