fix nav drawer layout shifts on mobile
This commit is contained in:
parent
1a85b01de7
commit
95ff6b702f
@ -885,13 +885,17 @@ footer a:hover {
|
|||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hamburger.opened {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
.drawer {
|
.drawer {
|
||||||
display: block;
|
display: block;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background: white;
|
background: white;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 100vh;
|
height: 110vh;
|
||||||
width: 0;
|
width: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
transition: 0.2s all ease-in-out;
|
transition: 0.2s all ease-in-out;
|
||||||
|
Loading…
Reference in New Issue
Block a user