From: Anton Khorev Date: Fri, 12 Apr 2024 13:51:30 +0000 (+0300) Subject: Use Bootstrap to set z-indexes of map-overlapping ui X-Git-Tag: live~621^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/485ac16cfc7e4442cedd945cca33fca54d1f30d2 Use Bootstrap to set z-indexes of map-overlapping ui --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1ccdc7871..b40c60835 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -90,7 +90,6 @@ time[title] { header { height: $headerHeight; position: relative; - z-index: 1001; font-size: 14px; h1, nav, nav > ul, nav > ul > li { @@ -329,7 +328,6 @@ body.small-nav { .overlay-sidebar #sidebar { position: absolute; - z-index: 1000; height: auto; overflow: hidden; @@ -396,7 +394,6 @@ body.small-nav { } #map-ui { - z-index: 9999; width: 100%; height: 50%; overflow-y: scroll; diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index d5b6a9e01..9f3d01b02 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -1,4 +1,4 @@ -
+

<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :width => 30, :height => 30, :class => "logo" %> diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 310a97633..bcbe20968 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -21,7 +21,7 @@ <% end %> <% content_for :content do %> -