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

Anton Khorev notifications at github.com
Fri May 9 14:32:37 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

We can change the background to `bg-black` for example:
![image](https://github.com/user-attachments/assets/4d25cf97-3e0f-40e0-8eac-0eb7d8a22ba0) ![image](https://github.com/user-attachments/assets/c777512d-b91c-4a04-bc27-dddf06ed07a3)

And maybe add `bg-opacity-75`; the actual buttons are black with 0.6 opacity, this should be close enough:
![image](https://github.com/user-attachments/assets/1e31fa79-88a5-48dc-802c-4d56667e1b48) ![image](https://github.com/user-attachments/assets/345a55b7-f458-4549-bf16-9255b804771f)


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

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


More information about the rails-dev mailing list