diff --git a/styles/layouts/all.css b/styles/layouts/all.css index 0cb93a7..4ada63c 100644 --- a/styles/layouts/all.css +++ b/styles/layouts/all.css @@ -56,10 +56,22 @@ nav .input-field label { } .nav-wrapper { - position: sticky; + position: fixed; + top: 0; + left: 0; z-index: 10; } +.nav-wrapper + *, *:has(.nav-wrapper) + * { + margin-top: 56px; +} + +@media only screen and (min-width: 601px) { + .nav-wrapper + *, *:has(.nav-wrapper) + * { + margin-top: 64px; + } +} + nav ul:not(.dropdown-content) > li > a { height: 100%; }