From 80953713044577390be6be8ab5ce24263d8d92eb Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 25 May 2020 14:12:12 +0200 Subject: [PATCH] Ensure OpenStreetMap credits are aways shown with map and fix credits positioning for /groups page map display --- app/assets/stylesheets/darkswarm/map.css.scss | 5 +++++ app/views/map/index.html.haml | 3 --- app/views/shared/_map.html.haml | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/map.css.scss b/app/assets/stylesheets/darkswarm/map.css.scss index b0df5b66da..2af782f187 100644 --- a/app/assets/stylesheets/darkswarm/map.css.scss +++ b/app/assets/stylesheets/darkswarm/map.css.scss @@ -63,3 +63,8 @@ left: 0px; } } + +.tabs-content .map-footer { + position: relative; + bottom: 30px; +} diff --git a/app/views/map/index.html.haml b/app/views/map/index.html.haml index 6f50bf757c..9d074d31a9 100644 --- a/app/views/map/index.html.haml +++ b/app/views/map/index.html.haml @@ -5,6 +5,3 @@ = inject_enterprise_shopfront_list = render partial: "shared/map" - -.map-footer - %a{:href => "http://www.openstreetmap.org/copyright"} © OpenStreetMap contributors diff --git a/app/views/shared/_map.html.haml b/app/views/shared/_map.html.haml index 6f8016c81e..69f781a78c 100644 --- a/app/views/shared/_map.html.haml +++ b/app/views/shared/_map.html.haml @@ -6,3 +6,6 @@ %map-search %ui-gmap-markers{models: "OfnMap.enterprises", fit: "true", coords: "'self'", icon: "'icon'", click: "'reveal'"} + +.map-footer + %a{:href => "http://www.openstreetmap.org/copyright"} © OpenStreetMap contributors