Make navbar fixed, if the window is tall enough
parent
252f306793
commit
04c2363209
|
@ -61,7 +61,7 @@ figure {
|
|||
}
|
||||
|
||||
#navbar {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
width: 250px;
|
||||
top: 0;
|
||||
|
@ -172,6 +172,12 @@ h3 {
|
|||
display: none;
|
||||
}
|
||||
|
||||
@media all and (max-height: 568px) {
|
||||
#navbar {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 780px) {
|
||||
#navbar {
|
||||
position: static;
|
||||
|
|
Loading…
Reference in New Issue