@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/2828604...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to