From: John Firebaugh Date: Wed, 31 Jul 2013 21:11:56 +0000 (-0700) Subject: Fix map control style on non-main page maps X-Git-Tag: live~4797^2~5 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/160f7b26e808f1288508aeadaeba9df6282637f6 Fix map control style on non-main page maps --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 19ad55d31..c90aa9145 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -551,6 +551,7 @@ a.donate { 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; @@ -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;