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:
parent
12378d77ce
commit
8200c5d49e
1 changed files with 4 additions and 0 deletions
|
@ -2144,6 +2144,10 @@ th[data-sort-direction="desc"]::after { content: "\a0\25bc"; }
|
||||||
padding: .25em;
|
padding: .25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#cbi-network-interface .ifacebox-body {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.ifacebadge {
|
.ifacebadge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
Loading…
Reference in a new issue