From: John Firebaugh Date: Thu, 7 Nov 2013 20:17:22 +0000 (-0800) Subject: Fix scale control margin X-Git-Tag: live~4674^2~147 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b3bd81fd4b5d9441c0edd58534ca5956a46c86bf?hp=b90d27cdff7893b6e814cc0a93272d193114e81b Fix scale control margin --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 2b0722be0..8e43e0d09 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -824,7 +824,7 @@ nav.secondary { } } -.leaflet-top.leaflet-right { +.leaflet-top { top: $lineheight !important; .leaflet-control { margin-right: 0px !important; diff --git a/app/assets/stylesheets/leaflet-all.css.scss b/app/assets/stylesheets/leaflet-all.css.scss index 5c23477fe..10ad2607a 100644 --- a/app/assets/stylesheets/leaflet-all.css.scss +++ b/app/assets/stylesheets/leaflet-all.css.scss @@ -25,14 +25,3 @@ div.leaflet-marker-icon.location-filter.move-marker { .site .leaflet-popup p { margin: 0 0 20px 0; } - -.leaflet-left .leaflet-control { - margin-left: 0; -} - -.leaflet-top { - margin-top: 16px; - .leaflet-control { - margin-top: 0; - } -}