diff --git a/assets/static/css/bcarlin.css b/assets/static/css/bcarlin.css index a27e26e..b00a9f7 100644 --- a/assets/static/css/bcarlin.css +++ b/assets/static/css/bcarlin.css @@ -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;