From d04e3ac9f86d04fbb30a71d5d10f59bd70a25d9e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Nov 2012 13:03:49 +0000 Subject: [PATCH] Move map controls higher in the small screen view --- app/assets/stylesheets/common.css.scss | 6 +++++- app/assets/stylesheets/small.css.scss | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index d3d644801..606cdd47d 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -440,7 +440,11 @@ body.site-export #tabnav a#exportanchor { .site-index .leaflet-top, .site-export .leaflet-top { - margin-top: 40px !important; + top: 40px !important; + + .leaflet-control { + margin-top: 0px !important; + } } /* Rules for edit menu */ diff --git a/app/assets/stylesheets/small.css.scss b/app/assets/stylesheets/small.css.scss index d7600a0d6..70d6dd629 100644 --- a/app/assets/stylesheets/small.css.scss +++ b/app/assets/stylesheets/small.css.scss @@ -96,9 +96,9 @@ h1 { display: none; } -.site-index .leaflet-top .leaflet-control, -.site-export .leaflet-top .leaflet-control { - margin-top: 10px !important; +.site-index .leaflet-top, +.site-export .leaflet-top { + top: 8px !important; } /* Rules for the main content area */ -- 2.39.5