From 01cefed7f008c9cdbd8b1312336c7a358b523856 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sat, 10 Oct 2020 00:50:19 +0200 Subject: [PATCH] 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 --- .../htdocs/luci-static/material/cascade.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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; -- 2.30.2