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

Anton Khorev notifications at github.com
Fri May 9 14:39:11 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 probably looks better.

```suggestion
         :note_icon => (link_to new_note_path(:anchor => map_hash(params)), :title => t("javascripts.site.createnote_tooltip"),
                                                                            :class => "d-inline-block rounded-1 text-white bg-black bg-opacity-75 border border-2 my-n1 align-text-bottom" do
                          tag.svg :width => 20, :height => 20, :class => "d-block" do
```

![image](https://github.com/user-attachments/assets/1ac1813a-00ea-4185-9c51-969dae24dbf8) ![image](https://github.com/user-attachments/assets/177042af-45f5-4e29-a298-001bc2ef25b0)

![image](https://github.com/user-attachments/assets/063fbb16-6d04-49d8-b4bc-e1f531b33d01) ![image](https://github.com/user-attachments/assets/51b7677a-42d0-4d99-8dbf-e4dbc25ec3be)



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

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


More information about the rails-dev mailing list