From: Miguel Angel Mulero Martinez Date: Fri, 29 Apr 2022 22:32:58 +0000 (+0200) Subject: luci-material-theme: adjust data-title for logout X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f8e52aa85d305a73a276b45805d758ba20d759fe;p=openwrt-luci.git 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 --- 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; }