@SinghSwayam commented on this pull request.


> @@ -7,6 +7,20 @@
         <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'] %>
+          <a href="<%= layer['wiki'] %>"
+             target="_blank"
+             rel="noopener"
+             title="<%= t 'layouts.layer_info' %>"
+             class="position-absolute z-3"
+             style="top: 4px; right: 4px; color: #ffffff90; mix-blend-mode: 
difference; text-decoration: none; line-height: 1;"
+             onclick="event.stopPropagation()">

yes i have checked the link clicking action and it consumes the event

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/6669/review/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to