From 0ce25b08b0a169456bfbbaad2151055102a03af9 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Fri, 3 Sep 2021 21:03:47 +0200 Subject: 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 --- .../htdocs/luci-static/resources/view/dashboard/css/custom.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/luci-mod-dashboard/htdocs') 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; } -- cgit v1.2.3