[openstreetmap/openstreetmap-website] Remove controls sprite (PR #5752)

Marwin Hochfelsner notifications at github.com
Fri May 9 11:20:09 UTC 2025


@hlfan commented on this pull request.



> +         :note_icon => (link_to new_note_path(:anchor => map_hash(params)), :title => t("javascripts.site.createnote_tooltip") do
+                          tag.svg :width => 20, :height => 20, :class => "align-top" do

The box was only necessary because the icon from the sprite wasn't able to use `currentColor`, so the background had to be changed. Using the native link color makes it clear that it's a link.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5752/review/2827947990 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250509/f29ec741/attachment.htm>


More information about the rails-dev mailing list