fix: don't use dvh inside menu

This commit is contained in:
Timothée Goguely 2025-01-23 18:47:33 +01:00
parent 23ca21cb5b
commit 491fd1bcc7

View file

@ -231,7 +231,6 @@ button[aria-controls="menu"][aria-expanded="false"]
width: 100%; width: 100%;
max-width: var(--sidebar-width); max-width: var(--sidebar-width);
height: calc(100vh - var(--gutter) * 2); height: calc(100vh - var(--gutter) * 2);
height: calc(100dvh - var(--gutter) * 2);
padding: var(--gap); padding: var(--gap);
background: var(--color-background); background: var(--color-background);
overflow-y: auto; overflow-y: auto;
@ -250,7 +249,6 @@ button[aria-controls="menu"][aria-expanded="false"]
z-index: 100; z-index: 100;
border-radius: 0; border-radius: 0;
height: 100vh; height: 100vh;
height: 100dvh;
padding-top: 2.5rem; padding-top: 2.5rem;
} }
button[aria-controls="menu"][aria-expanded="true"] + #menu::before { button[aria-controls="menu"][aria-expanded="true"] + #menu::before {