From: Anton Khorev Date: Sat, 27 Apr 2024 23:22:33 +0000 (+0300) Subject: Remove custom css for note icons on welcome and fixthemap pages X-Git-Tag: live~120^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e820e143a8d2d6f79f74b0a287cf71a65bc52e74 Remove custom css for note icons on welcome and fixthemap pages --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index c0f6c367c..4a3317edc 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -929,11 +929,6 @@ div.secondary-actions { .sprite.rules { /*rtl:ignore*/ background-position: -350px 0; } - - .icon.note { - background-color: #333; - border-radius: 4px; - } } .site-about #content { diff --git a/app/views/site/fixthemap.html.erb b/app/views/site/fixthemap.html.erb index c1a61362f..3edafd8b7 100644 --- a/app/views/site/fixthemap.html.erb +++ b/app/views/site/fixthemap.html.erb @@ -22,7 +22,7 @@
<%= t "site.welcome.add_a_note.title" %>

<%= t "site.welcome.add_a_note.para_1" %>

-

<%= t ".how_to_help.add_a_note.instructions_1_html", :note_icon => tag.a(:class => "icon note") %>

+

<%= t ".how_to_help.add_a_note.instructions_1_html", :note_icon => tag.a(:class => "icon note bg-dark rounded-1") %>

diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 8ec32ea9c..f8f339284 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -73,5 +73,5 @@

<%= t ".add_a_note.title" %>

<%= t ".add_a_note.para_1" %>

<%= t ".add_a_note.para_2_html", :map_link => link_to(t(".add_a_note.the_map"), root_path), - :note_icon => tag.span(:class => "icon note") %>

+ :note_icon => tag.span(:class => "icon note bg-dark rounded-1") %>