]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4686'
authorTom Hughes <tom@compton.nu>
Fri, 12 Apr 2024 17:06:59 +0000 (18:06 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 12 Apr 2024 17:06:59 +0000 (18:06 +0100)
app/assets/stylesheets/common.scss
app/views/layouts/_header.html.erb
app/views/layouts/map.html.erb

index 42046c0a62f270c6e49086cd3abe6eb26761f4ea..629d26a814be9bf633c582fbdd8dec12c99d47b4 100644 (file)
@@ -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;
index d5b6a9e01a4e303b7637f38681dbea1c6190553c..9f3d01b02590d1ac1655f4acd43069e38dc212c6 100644 (file)
@@ -1,4 +1,4 @@
-<header class="d-flex bg-body text-nowrap closed">
+<header class="d-flex bg-body text-nowrap closed z-3">
   <h1 class="m-0 fw-semibold">
     <a href="<%= root_path %>" class="text-body-emphasis text-decoration-none geolink">
       <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :width => 30, :height => 30, :class => "logo" %>
index 65ba2ee6afcf6cdf7dabfef0cd6153f2782d6a75..bcbe2096803e6117f1733f5f563cad1a1442fea3 100644 (file)
@@ -21,7 +21,7 @@
 <% end %>
 
 <% content_for :content do %>
-  <div id="sidebar" class="bg-body">
+  <div id="sidebar" class="bg-body z-1">
     <%= render :partial => "layouts/search", :locals => { :autofocus => true } %>
 
     <div id="flash">
     </div>
   </noscript>
 
-  <div id="map-ui" class="bg-body">
+  <div id="map-ui" class="bg-body z-2">
   </div>
 
-  <div id="map" tabindex="2">
+  <div id="map" tabindex="2" class="z-0">
   </div>
 
   <div id="attribution" class="d-none">