From e820e143a8d2d6f79f74b0a287cf71a65bc52e74 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 28 Apr 2024 02:22:33 +0300 Subject: [PATCH] Remove custom css for note icons on welcome and fixthemap pages --- app/assets/stylesheets/common.scss | 5 ----- app/views/site/fixthemap.html.erb | 2 +- app/views/site/welcome.html.erb | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) 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") %>

-- 2.45.1