From 97bd192c7ec302d3bc18bd9cb6f8a1eacd62fc84 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 28 Apr 2020 23:36:05 +0200 Subject: luci-theme-openwrt-2020: add control-group style fixes Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/openwrt2020/cascade.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'themes/luci-theme-openwrt-2020/htdocs/luci-static') 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; } -- cgit v1.2.3