Make navbar absolute positioned, so it scrolls

This commit is contained in:
Yorin Anne De Jong 2018-02-13 16:07:28 +01:00
parent 1e973c31b2
commit 46eed1c223
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ nav, #menu {
padding: 0; padding: 0;
} }
nav { nav {
position: fixed; position: absolute;
width: 100%; width: 100%;
top: 0; top: 0;
left: 0; left: 0;
@ -74,7 +74,7 @@ nav li.active, nav li:hover {
@media(max-width: 800px){ @media(max-width: 800px){
nav #menu, nav #menu li.active, nav #menu_toggle, nav #menu:target li.active a, nav #login { nav #menu, nav #menu li.active, nav #menu_toggle, nav #menu:target li.active a, nav #login {
position: fixed; position: absolute;
} }
nav { nav {