luci-mod-dashboard: improve view of label
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 3 Sep 2021 19:03:47 +0000 (21:03 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Fri, 3 Sep 2021 19:03:47 +0000 (21:03 +0200)
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>
modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css

index 62ef169fb58a0d426bc4836b2eaf85054ca64725..8db3bbbe1406906c68cf6ac29a6d10a4d9bf15f1 100644 (file)
 .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;
 }