make hamburger menu width responsive

page-actions
bat 3 years ago
parent cec083ef39
commit 07fd06f339

@ -120,9 +120,9 @@ export class Header extends HTMLElement {
div.menu {
position: fixed;
top: 0;
left: -90vw;
left: max(-90vw, -480px);
height: 100vh;
width: 90vw;
width: min(90vw, 480px);
background-color: #fff;
transition: left .25s ease-in-out;
}

Loading…
Cancel
Save