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 6b4258a..c05c73c 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 {