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>
This commit is contained in:
Miguel Angel Mulero Martinez 2022-04-30 00:32:58 +02:00
parent d452dee8ce
commit f8e52aa85d

View file

@ -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;
}