]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/small.scss
Add thunderforest API key to example configuration
[rails.git] / app / assets / stylesheets / small.scss
index 1865572a3acbe7f5d7865ffb95d8f1015bfe9359..0152e8b30c8705ffa29aa73ddfe96338996f684e 100644 (file)
@@ -98,7 +98,7 @@ body.small {
     display: inline-block;
   }
 
-  .map-layout {
+  &.map-layout {
     #sidebar, #map {
       position: relative;
       overflow-x: hidden;
@@ -108,7 +108,10 @@ body.small {
 
     .overlay-sidebar {
       #sidebar {
+        position: absolute;
         width: 300px;
+        height: auto;
+        overflow: hidden;
       }
 
       #map {
@@ -123,7 +126,8 @@ body.small {
     }
   }
 
-  #sidebar .welcome {
+  #sidebar .welcome,
+  #sidebar #banner {
     display: none !important;
   }
 
@@ -178,8 +182,8 @@ body.small {
 
   /* Rules for the sign-up page */
 
-  .user-new,
-  .user-create {
+  &.user-new,
+  &.user-create {
     .col6 {
       width: 100%;
     }
@@ -189,7 +193,7 @@ body.small {
     }
   }
 
-  .site-about #content .attr h1 {
+  &.site-about #content .attr h1 {
     font-size: 28px;
   }