From 515562be2744eb402c37665b7a6e6af72430610f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 20 Nov 2018 13:31:58 +0100 Subject: luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand Signed-off-by: Jo-Philipp Wich --- .../luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 8 ++++++++ .../luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 8 ++++++++ 2 files changed, 16 insertions(+) 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 5f9d7e603..bb0a0987d 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 13939da3b..4203f0362 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 { -- cgit v1.2.3