mmd-osm left a comment (openstreetmap/openstreetmap-website#6232)

For me, the following change made it work again. I guess there's some element 
which is conflicting in case of `z-0`.

```erb
diff --git a/app/views/layers_panes/show.html.erb 
b/app/views/layers_panes/show.html.erb
index a1d63c7e1..18a8c78f7 100644
--- a/app/views/layers_panes/show.html.erb
+++ b/app/views/layers_panes/show.html.erb
@@ -1,7 +1,7 @@
 <div class="base-layers d-grid gap-3 p-3 border-bottom 
border-secondary-subtle">
   <% @base_layers.each do |layer| %>
     <div class="position-relative">
-      <div class="position-absolute top-0 start-0 bottom-0 end-0 z-0 
bg-body-secondary" data-layer="<%= layer["layerId"] %>"></div>
+      <div class="position-absolute top-0 start-0 bottom-0 end-0 z-n1 
bg-body-secondary" data-layer="<%= layer["layerId"] %>"></div>
       <input type="radio" class="btn-check" name="layer" id="map-ui-layer-<%= 
layer["layerId"] %>"></input>
       <label class="btn btn-outline-primary border-4 rounded-3 bg-transparent 
position-absolute p-0 h-100 w-100 overflow-hidden" for="map-ui-layer-<%= 
layer["layerId"] %>">
         <span class="badge position-absolute top-0 start-0 rounded-top-0 
rounded-start-0 py-1 px-2 bg-body bg-opacity-75 text-body text-wrap text-start 
fs-6 lh-base">
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6232#issuecomment-3141165207
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/6232/3141165...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to