luci-theme-openwrt-2020: add control-group style fixes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-04-28 23:36:05 +02:00
parent d02c26772b
commit 97bd192c7e

View file

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