summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap
diff options
context:
space:
mode:
authorDaniel Nilsson <daniel.nilsson94@outlook.com>2024-02-18 00:40:33 +0100
committerDaniel Nilsson <daniel.nilsson94@outlook.com>2024-02-18 00:55:20 +0100
commit8200c5d49e2e09a6126ffcdf80969e94b70531b8 (patch)
tree7c5a72cb718a29e7a7e2d36fd2677912e9e46748 /themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap
parent12378d77cea16c268e980cca33e46df614ce5ecd (diff)
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 <daniel.nilsson94@outlook.com>
Diffstat (limited to 'themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap')
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css4
1 files changed, 4 insertions, 0 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 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;