From f8e52aa85d305a73a276b45805d758ba20d759fe Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Sat, 30 Apr 2022 00:32:58 +0200 Subject: luci-material-theme: adjust data-title for logout The data-title attribute style depends on the content in the css rule. When translated to other language, the css rule fails. This change uses the position and not the content to apply the style. Signed-off-by: Miguel Angel Mulero Martinez --- themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/luci-theme-material/htdocs/luci-static') diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 160b4b0ce9..77e509227c 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -2649,7 +2649,7 @@ input[name="nslookup"] { .main > .main-left > .nav > li, .main > .main-left > .nav > li a, .main > .main-left > .nav > .slide > .menu, - .main > .main-left > .nav > li > [data-title="Logout"] { + .main > .main-left > .nav > li:last-child > [data-title] { font-size: .9rem; } -- cgit v1.2.3