From: Ansuel Smith Date: Fri, 9 Oct 2020 22:50:19 +0000 (+0200) Subject: luci-theme-material: fix bigger button for combo-box X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01cefed7f008c9cdbd8b1312336c7a358b523856;p=project%2Fluci.git luci-theme-material: fix bigger button for combo-box Combobox are bigger than any other button. Align the dimension to all the other buttons. Signed-off-by: Ansuel Smith --- diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index dfa9c5dc03..10d8a02bdd 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -1414,6 +1414,23 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { outline: 0; } +.cbi-dropdown.btn { + min-height: 1.8rem; + padding-top: 0px; + padding-bottom: 0px; + padding-right: 0px; +} + +.cbi-dropdown.btn > .open { + font-size: 0.8rem; + padding: 0px; + margin: 0 5px; +} + +.cbi-dropdown.btn > div { + margin: 0px; +} + .cbi-dropdown > .more, .cbi-dropdown > ul > li[placeholder] { font-weight: bold;