diff options
author | Daniel Nilsson <daniel.nilsson94@outlook.com> | 2024-02-18 00:40:33 +0100 |
---|---|---|
committer | Daniel Nilsson <daniel.nilsson94@outlook.com> | 2024-02-18 00:55:20 +0100 |
commit | 8200c5d49e2e09a6126ffcdf80969e94b70531b8 (patch) | |
tree | 7c5a72cb718a29e7a7e2d36fd2677912e9e46748 /themes/luci-theme-bootstrap/htdocs/luci-static | |
parent | 12378d77cea16c268e980cca33e46df614ce5ecd (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')
-rw-r--r-- | themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css | 4 |
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; |