summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-28 23:36:05 +0200
committerJo-Philipp Wich <jo@mein.io>2020-05-02 23:53:03 +0200
commit97bd192c7ec302d3bc18bd9cb6f8a1eacd62fc84 (patch)
tree2ac3a607687f9b23ee8176409443290f9976792e /themes/luci-theme-openwrt-2020
parentd02c26772b448747a5d4249819957f564a19926a (diff)
luci-theme-openwrt-2020: add control-group style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt-2020')
-rw-r--r--themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css9
1 files changed, 6 insertions, 3 deletions
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;
}