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

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -