diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-20 13:31:58 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-20 13:32:31 +0100 |
commit | 515562be2744eb402c37665b7a6e6af72430610f (patch) | |
tree | e6af67eee16ea941ab8b9f9643fee3f3d542ebac /themes | |
parent | 398d69945a5df3118a300ece4dba45495b5acec0 (diff) |
luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 8 | ||||
-rw-r--r-- | themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index 5f9d7e6034..bb0a0987da 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -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; diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index 13939da3bd..4203f03624 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -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 { |