From 9a6e584449fcd86d88d140c99d1a51297e35be72 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 2 Dec 2018 16:57:24 +0100 Subject: [PATCH] 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 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/bootstrap/cascade.css | 1 + .../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 { -- 2.25.1