diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css index 5abcaf4..46901b0 100644 --- a/nummi/main/static/main/css/main.css +++ b/nummi/main/static/main/css/main.css @@ -74,7 +74,11 @@ main { nav { grid-column: 1; grid-row: 1; - min-height: 100vh; + + height: 100vh; + position: sticky; + top: 0; + padding: 2rem; background: var(--bg-01); line-height: 2rem; @@ -90,8 +94,7 @@ nav h1 img { nav ul { list-style: none; padding: 0; - position: sticky; - top: 2rem; + position: relative; } nav .skip-link { opacity: .1;