mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Fix mobile menu button content (#34703)
This commit is contained in:
parent
0a9b703f27
commit
4798fc6d41
@ -184,14 +184,14 @@ header .grid {
|
|||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
@include transition(all 0.5s linear);
|
@include transition(all 0.5s linear);
|
||||||
content: "☰";
|
content: "☰";
|
||||||
display: inline-block;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 4px 9px;
|
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: 16px;
|
|
||||||
color: $white;
|
color: $white;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border-radius: 24px;
|
border-radius: 24px;
|
||||||
@ -203,6 +203,7 @@ header .grid {
|
|||||||
|
|
||||||
#toggle:checked + .toggle::after {
|
#toggle:checked + .toggle::after {
|
||||||
content: attr(data-close);
|
content: attr(data-close);
|
||||||
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* submenus */
|
/* submenus */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user