diff options
author | Miguel Angel Mulero Martinez <migmul@gmail.com> | 2022-04-30 00:32:58 +0200 |
---|---|---|
committer | Miguel Angel Mulero Martinez <migmul@gmail.com> | 2022-04-30 09:15:40 +0200 |
commit | f8e52aa85d305a73a276b45805d758ba20d759fe (patch) | |
tree | 96c5287b2c1ef2787dfce4c500ef6b3efb34641d /themes/luci-theme-material | |
parent | d452dee8ce2f958b7c0c3cad85eb4124456a9661 (diff) |
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 <migmul@gmail.com>
Diffstat (limited to 'themes/luci-theme-material')
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |