]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Change map ui sidebar height together with map height
[rails.git] / app / assets / stylesheets / common.scss
index 6d73ffb7e76775d912e6ee1e0c468dd9c83377f3..77b87f8788f045731b210df6accbb25f8175108c 100644 (file)
@@ -522,6 +522,13 @@ body.small-nav {
       height: 50%;
     }
 
+    #map-ui {
+      z-index: 9999;
+      width: 100%;
+      height: 50%;
+      overflow-y: scroll;
+    }
+
     .overlay-sidebar {
       #sidebar {
         position: absolute;
@@ -530,16 +537,10 @@ body.small-nav {
         overflow: hidden;
       }
 
-      #map {
+      #map, #map-ui {
         height: 100%;
       }
     }
-
-    #map-ui {
-      z-index: 9999;
-      width: 100%;
-      overflow-y: scroll;
-    }
   }
 }