Make navbar absolute positioned, so it scrolls
This commit is contained in:
parent
1e973c31b2
commit
46eed1c223
|
@ -26,7 +26,7 @@ nav, #menu {
|
|||
padding: 0;
|
||||
}
|
||||
nav {
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
@ -74,7 +74,7 @@ nav li.active, nav li:hover {
|
|||
|
||||
@media(max-width: 800px){
|
||||
nav #menu, nav #menu li.active, nav #menu_toggle, nav #menu:target li.active a, nav #login {
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
nav {
|
||||
|
|
Loading…
Reference in New Issue