]> git.openstreetmap.org Git - rails.git/commitdiff
Fix map control style on non-main page maps
authorJohn Firebaugh <john.firebaugh@gmail.com>
Wed, 31 Jul 2013 21:11:56 +0000 (14:11 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Mon, 5 Aug 2013 15:32:44 +0000 (08:32 -0700)
app/assets/stylesheets/common.css.scss

index 19ad55d31672166c36935737715de4bef22182b3..c90aa91450a215953c2cef310d80880fd8023393 100644 (file)
@@ -551,6 +551,7 @@ a.donate {
   border-radius: 0;
 }
 
   border-radius: 0;
 }
 
+.leaflet-control .zoomout, // For non-main page maps
 .control-locate .control-button,
 .control-share .control-button {
   border-radius: 0 0 0 4px;
 .control-locate .control-button,
 .control-share .control-button {
   border-radius: 0 0 0 4px;
@@ -690,8 +691,7 @@ a.donate {
   }
 }
 
   }
 }
 
-.site-index .leaflet-top,
-.site-export .leaflet-top {
+.leaflet-top.leaflet-right {
   top: $lineheight/2 !important;
   .leaflet-control {
     margin-right: 0px !important;
   top: $lineheight/2 !important;
   .leaflet-control {
     margin-right: 0px !important;