From 8200c5d49e2e09a6126ffcdf80969e94b70531b8 Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Sun, 18 Feb 2024 00:40:33 +0100 Subject: [PATCH] luci-theme-bootstrap: allow network interfaces to line break The inherited nowrap of white-space causes the interface boxes to not line break, resulting in a horizontal scroll bar when many interfaces are present. Tested on Chrome and Firefox. Signed-off-by: Daniel Nilsson --- .../htdocs/luci-static/bootstrap/cascade.css | 4 ++++ 1 file changed, 4 insertions(+) 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 3afcc6ad99..f1b6dccab2 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -2144,6 +2144,10 @@ th[data-sort-direction="desc"]::after { content: "\a0\25bc"; } padding: .25em; } +#cbi-network-interface .ifacebox-body { + white-space: normal; +} + .ifacebadge { display: inline-block; flex-direction: row; -- 2.30.2