Make navbar fixed, if the window is tall enough
This commit is contained in:
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…
x
Reference in New Issue
Block a user