luci-theme-material: fix bigger button for combo-box
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 9 Oct 2020 22:50:19 +0000 (00:50 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Fri, 30 Oct 2020 20:34:10 +0000 (21:34 +0100)
Combobox are bigger than any other button. Align the dimension to all the other buttons.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
themes/luci-theme-material/htdocs/luci-static/material/cascade.css

index dfa9c5dc0335a09b51bbabb6e93a9a5fad1c613f..10d8a02bddf763f6f36b3fbec25fbb02504bac5a 100644 (file)
@@ -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;