[openstreetmap/openstreetmap-website] Fix issue #6256: Add info icon with Wiki links to map layers menu (PR #6669)

Marwin Hochfelsner notifications at github.com
Tue Jan 6 20:41:33 UTC 2026


@hlfan commented on this pull request.



> @@ -7,6 +7,11 @@
         <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">
           <%= t "javascripts.map.base.#{layer['nameId']}" %>
         </span>
+        <% if layer["wiki"] %>
+          <%= link_to layer["wiki"], :target => "_blank", :rel => "noopener", :title => t("layouts.layer_info"), :class => "layer-info-toggle position-absolute z-3 text-white text-decoration-none lh-1" do %>

To reduce the required custom CSS to just the `mix-blend-mode`:

```suggestion
          <%= link_to layer["wiki"], :target => "_blank", :rel => "noopener", :title => t("layouts.layer_info"), :class => "layer-info-toggle position-absolute z-3 p-1 end-0 text-white text-decoration-none lh-1" do %>
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6669#pullrequestreview-3632429218
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6669/review/3632429218 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260106/0e6519c3/attachment.htm>


More information about the rails-dev mailing list