fix nav drawer layout shifts on mobile

This commit is contained in:
Aadil Ayub 2022-04-07 21:18:32 +05:00
parent 1a85b01de7
commit 95ff6b702f
1 changed files with 5 additions and 1 deletions

View File

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