]> git.openstreetmap.org Git - rails.git/commitdiff
Revert e04cab86 and add explicit small screen rules for overlay sidebar
authorTom Hughes <tom@compton.nu>
Tue, 28 Jul 2015 18:17:02 +0000 (19:17 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 28 Jul 2015 18:17:02 +0000 (19:17 +0100)
app/assets/stylesheets/small.scss

index 6b4258ab6904599a73a5f1df94ffa671619de188..c05c73c9d8b92825ae50fb6d59d7d5babdc8bbf3 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 {