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:
parent
802ac76e10
commit
0ce25b08b0
1 changed files with 4 additions and 2 deletions
|
@ -120,13 +120,15 @@
|
||||||
.Dashboard .settings-info p span:nth-child(2){
|
.Dashboard .settings-info p span:nth-child(2){
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
max-width: 150px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-height: 16px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
top:2px;
|
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){
|
.Dashboard .router-status-info .settings-info p span:nth-child(2){
|
||||||
max-width: 283px;
|
max-width: 283px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue