From: Jo-Philipp Wich Date: Fri, 3 Apr 2020 11:47:00 +0000 (+0200) Subject: luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflows X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=015712bba0fe4b036b4d12235a7b664d5b4cf3fe;p=oweals%2Fluci.git luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflows Fixes: #3795 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 c85bd866d..4387e9588 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -494,6 +494,8 @@ select, border-radius: 3px; position: relative; pointer-events: none; + overflow: hidden; + word-break: break-all; } .cbi-dynlist > .item::after { 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 36e6b9778..74b4e0b77 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 @@ -1114,13 +1114,14 @@ textarea { .cbi-dynlist > .item { box-shadow: 0 0 2px var(--main-dark-color); margin: .3em 0; - padding: .15em .2em; + padding: .15em 2em .15em .2em; border-radius: .25em; position: relative; overflow: hidden; transition: box-shadow .25s ease-in-out; pointer-events: none; flex: 1 1 100%; + word-break: break-all; } .cbi-dynlist > .item::after {