diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-03 13:47:00 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-03 13:47:00 +0200 |
commit | 015712bba0fe4b036b4d12235a7b664d5b4cf3fe (patch) | |
tree | 5fd2c1a538a3f749b528d1ff96d26d7cecc0f723 /themes | |
parent | 0c3152c88d108a39b6f235300dd56fac81748aa6 (diff) |
luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflows
Fixes: #3795
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 | 2 | ||||
-rw-r--r-- | themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css | 3 |
2 files changed, 4 insertions, 1 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 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 { |