luci-mod-dashboard: improve view of label

There are some problem with label with the material theme.
Improve this by removing max-height and setting the label to
a static font size.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
Ansuel Smith 2021-09-03 21:03:47 +02:00
parent 802ac76e10
commit 0ce25b08b0
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -120,13 +120,15 @@
.Dashboard .settings-info p span:nth-child(2){
display: inline-block;
word-break: break-all;
max-width: 150px;
overflow: hidden;
max-height: 16px;
position: relative;
top:2px;
}
.Dashboard .settings-info p span:nth-child(2).label {
font-size: 8px;
}
.Dashboard .router-status-info .settings-info p span:nth-child(2){
max-width: 283px;
}