]> git.openstreetmap.org Git - rails.git/commitdiff
Don't show banner unless content classed with overlay-sidebar
authorBryan Housel <bryan@mapbox.com>
Thu, 23 Jun 2016 04:52:45 +0000 (00:52 -0400)
committerBryan Housel <bryan@mapbox.com>
Thu, 23 Jun 2016 04:52:45 +0000 (00:52 -0400)
app/assets/stylesheets/common.scss

index fa9c51b94cbf04dd4dc0c220c716ad7930e0bb1e..b54b49fd369e079362091532b2366913a0054fc9 100644 (file)
@@ -597,6 +597,7 @@ body.compact {
     height: auto;
     overflow: hidden;
 
+    #banner,
     .welcome {
       display: block;
     }
@@ -631,7 +632,7 @@ body.compact {
   }
 
   #banner {
-    display: block;
+    display: none;
 
     img {
       display: block;