Put sidebar on bottom half of small screens
This commit is contained in:
parent
7983e0d30b
commit
c417222e2c
@ -14,3 +14,11 @@
|
||||
.map-wrapper-sidebar-open {
|
||||
margin-left: 300px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.map-wrapper-sidebar-open {
|
||||
margin-left: initial;
|
||||
margin-bottom: 45%;
|
||||
height: 55%;
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,16 @@
|
||||
border-right: 1px solid #222222;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.sidebar {
|
||||
top: initial;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 45%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
|
Loading…
Reference in New Issue
Block a user