]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Fix rubocop warnings
[rails.git] / app / assets / stylesheets / common.scss
index fa9c51b94cbf04dd4dc0c220c716ad7930e0bb1e..e8c480f56b6e6cf416a4f9118cb7ec5d82a675e8 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;
@@ -868,10 +869,15 @@ body.compact {
 
 #sidebar {
   #sidebar_loader,
+  .search_more {
+    width: 100%;
+    margin: $lineheight auto;
+  }
+
   .loader,
   .load_more {
     text-align: center;
-    margin: $lineheight auto;
+    margin: auto;
     width: 40px;
     display: block;
   }
@@ -1035,8 +1041,8 @@ div.direction {
   height: 20px;
   background-repeat: no-repeat;
 }
-@for $i from 1 through 18 {
-div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
+@for $i from 0 through 25 {
+div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
 }
 
 p#routing_summary {