diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-09-03 21:03:47 +0200 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2021-09-03 21:03:47 +0200 |
commit | 0ce25b08b0a169456bfbbaad2151055102a03af9 (patch) | |
tree | 9c6e66f5a73433d15495f1916e4927b662a8dcb9 /modules/luci-mod-dashboard/htdocs | |
parent | 802ac76e106b771cd1e350350ab023f673bcf38f (diff) |
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>
Diffstat (limited to 'modules/luci-mod-dashboard/htdocs')
-rw-r--r-- | modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css index 62ef169fb5..8db3bbbe14 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css @@ -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; } |