Remove z-index override from leaflet controls on small screens
[rails.git] / app / assets / stylesheets / small.scss
index 6b4258ab6904599a73a5f1df94ffa671619de188..984364736b35290d8cb38a272f1016711d6bdf22 100644 (file)
@@ -103,11 +103,15 @@ body.small {
       position: relative;
       overflow-x: hidden;
       width: 100%;
+      height: 50%;
     }
 
     .overlay-sidebar {
       #sidebar {
+        position: absolute;
         width: 300px;
+        height: auto;
+        overflow: hidden;
       }
 
       #map {
@@ -122,13 +126,13 @@ body.small {
     }
   }
 
-  #sidebar .welcome {
+  #sidebar .welcome,
+  #sidebar #banner {
     display: none !important;
   }
 
   .leaflet-top.leaflet-right {
     top: 10px !important;
-    z-index: 0;
   }
 
   .content_map {