luci-theme-openwrt-2020: add control-group style fixes
authorJo-Philipp Wich <jo@mein.io>
Tue, 28 Apr 2020 21:36:05 +0000 (23:36 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 2 May 2020 21:53:03 +0000 (23:53 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index 595656eedb01d070c15244eef5716be51748173e..b6a042a5b8a1426b4300168eecb1c256e55d03af 100644 (file)
@@ -317,7 +317,8 @@ body.modal-overlay-active #modal_overlay {
 .td input[type="password"],
 .td select,
 .td .cbi-dropdown:not(.btn):not(.cbi-button),
-.td .cbi-dynlist {
+.td .cbi-dynlist,
+.td .control-group {
        min-width: auto;
        width: 100%;
 }
@@ -1065,6 +1066,7 @@ textarea {
 .control-group {
        display: inline-flex;
        margin: 0 -.125rem;
+       min-width: 20.25em;
 }
 
 .control-group > *,
@@ -1074,12 +1076,13 @@ textarea {
 
 .control-group > * {
        margin: .125rem !important;
-       min-width: auto;
+       min-width: auto !important;
 }
 
 .control-group > select,
 .control-group > input:not([type]),
-.control-group > input[type="text"] {
+.control-group > input[type="text"],
+.control-group > input[type="password"] {
        flex: 10;
 }