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

Anton Khorev notifications at github.com
Fri May 9 09:32:38 UTC 2025


@AntonKhorev 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

This changes how the icon looks:
![image](https://github.com/user-attachments/assets/b36b40af-e7cf-49b5-ac44-145d53097b10) ![image](https://github.com/user-attachments/assets/d8bb2381-7444-4eae-92f5-b99cf414c3d7)

To restore the previous look do this:
```suggestion
         :note_icon => (link_to new_note_path(:anchor => map_hash(params)), :title => t("javascripts.site.createnote_tooltip"),
                                                                            :class => "d-inline-block rounded-1 bg-dark text-white align-top" do
                          tag.svg :width => 20, :height => 20, :class => "d-block" do
```

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

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


More information about the rails-dev mailing list