fix feed panel display on mobile
This commit is contained in:
@@ -1,7 +1,30 @@
|
||||
@media only screen and (max-width: 800px) {
|
||||
.desktop, .leaflet-control-container {
|
||||
.desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#projects {
|
||||
|
||||
&.with-feed {
|
||||
#submap {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.leaflet-right {
|
||||
width: calc(100% - 44px - 2 * #{$block-spacing});
|
||||
}
|
||||
}
|
||||
|
||||
.leaflet-control-container {
|
||||
.leaflet-top.leaflet-left, .leaflet-bottom.leaflet-left, .leaflet-bottom.leaflet-right {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#feed {
|
||||
width: calc(100% - 44px - 2 * #{$block-spacing});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 801px) {
|
||||
|
||||
Reference in New Issue
Block a user