luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand
authorJo-Philipp Wich <jo@mein.io>
Tue, 20 Nov 2018 12:31:58 +0000 (13:31 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 20 Nov 2018 12:32:31 +0000 (13:32 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css

index 5f9d7e6034e48360813f77372282cdcb3f5085b1..bb0a0987da93bd31dd4179db2f9e96009be90d87 100644 (file)
@@ -496,6 +496,14 @@ select,
        pointer-events: auto;
 }
 
+.cbi-dynlist > .add-item {
+       display: flex;
+}
+
+.cbi-dynlist > .add-item > input {
+       flex: 1 1 auto;
+}
+
 select {
        padding: initial;
        background: #fff;
index 13939da3bdaf3a4291636373eda351f9ecd521d4..4203f03624bd8ab11b3bba9161aa4a88e5b640dd 100644 (file)
@@ -1263,6 +1263,14 @@ ul.cbi-tabmenu li.cbi-tab {
        height: auto;
 }
 
+.cbi-dynlist > .add-item {
+       display: flex;
+}
+
+.cbi-dynlist > .add-item > input {
+       flex: 1 1 auto;
+}
+
 input[type="text"] + .cbi-button,
 input[type="password"] + .cbi-button,
 select + .cbi-button {