diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-02 16:57:24 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-02 16:57:24 +0100 |
commit | 9a6e584449fcd86d88d140c99d1a51297e35be72 (patch) | |
tree | 319c6b5f297621f383112758618197cbd2843d9a | |
parent | be506665dfab87138dbc8dc46521c6d6c60af0f9 (diff) |
luci-theme-bootstrap, luci-theme-openwrt: allow dynlist item content to wrap
Very long values without whitespace can easily overflow the dynlist item
container, so allow the browser to forcibly break such lines.
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 1 | ||||
-rw-r--r-- | themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 4 |
2 files changed, 2 insertions, 3 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 98f6022ca..3dfac3384 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -482,6 +482,7 @@ select, border-radius: 3px; position: relative; pointer-events: none; + word-break: break-all; } .cbi-dynlist > .item::after { 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 f8133833e..58065948f 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 @@ -1242,9 +1242,7 @@ ul.cbi-tabmenu li.cbi-tab { border-radius: 3px; position: relative; pointer-events: none; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + word-break: break-all; } .cbi-dynlist > .item::after { |