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>
This commit is contained in:
Daniel Nilsson 2024-02-18 00:40:33 +01:00
parent 12378d77ce
commit 8200c5d49e

View file

@ -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;