From: Jo-Philipp Wich Date: Tue, 20 Nov 2018 12:31:58 +0000 (+0100) Subject: luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=515562be2744eb402c37665b7a6e6af72430610f luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand Signed-off-by: Jo-Philipp Wich --- 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 {