fix(theme): fix the menu apearence on mobiles

This commit is contained in:
Bruno Carlin 2025-07-06 14:22:12 +02:00
parent 2ca921f682
commit 142e825719
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -150,9 +150,9 @@ body {
background-color: var(--pico-background-color);
& > header {
width: 100vw;
width: 100dvw;
text-align: center;
height: 100vh;
height: 100dvh;
position: fixed;
left: -100vw;
top: 0;
@ -161,6 +161,10 @@ body {
transition: left 0.5s;
overflow: hidden auto;
&.active {
left: 0;
}
@media (width >= 1024px) {
position: sticky;
top: 0;