From: Jo-Philipp Wich Date: Tue, 28 Apr 2020 21:36:05 +0000 (+0200) Subject: luci-theme-openwrt-2020: add control-group style fixes X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97bd192c7ec302d3bc18bd9cb6f8a1eacd62fc84;p=oweals%2Fluci.git luci-theme-openwrt-2020: add control-group style fixes Signed-off-by: Jo-Philipp Wich --- diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index 595656eed..b6a042a5b 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -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; }