summaryrefslogtreecommitdiffhomepage
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
parentd02c26772b448747a5d4249819957f564a19926a (diff)
luci-theme-openwrt-2020: add control-group style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-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 595656eedb..b6a042a5b8 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;
}