From f35291ecbda0928db5c97bb5b30d678c1392215f Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 15 May 2024 16:16:10 +0300 Subject: [PATCH] Remove .small sprite class .small is used to set the font size elsewhere. --- app/assets/stylesheets/common.scss | 7 ++----- app/views/site/_any_questions.html.erb | 2 +- app/views/site/welcome.html.erb | 14 +++++++------- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index c7b733f26..c99fb9e4e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -894,16 +894,13 @@ div.secondary-actions { /* Rules for the "Welcome" page */ .site-welcome, .site-fixthemap { .sprite { + width: 50px; + height: 50px; background-image: image-url("welcome-sprite.svg"); background-size: 500px 250px; display: block; } - .sprite.small { - width: 50px; - height: 50px; - } - .sprite.x { /*rtl:ignore*/ background-position: -50px 0; } diff --git a/app/views/site/_any_questions.html.erb b/app/views/site/_any_questions.html.erb index 5098a1eee..6036623f9 100644 --- a/app/views/site/_any_questions.html.erb +++ b/app/views/site/_any_questions.html.erb @@ -1,6 +1,6 @@

<%= t ".title" %>

- +

<%= t ".paragraph_1_html", :help_link => link_to(t(".get_help_here"), help_path), :welcome_mat_link => link_to(t(".welcome_mat"), t(".welcome_mat_url")) %>

diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 3f16e0845..24bf3defa 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -13,13 +13,13 @@
- +

<%= t ".whats_on_the_map.on_the_map_html", :real_and_current => tag.em(t(".whats_on_the_map.real_and_current")) %>

- +

<%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %>

@@ -31,26 +31,26 @@
- + <%= t ".basic_terms.an_editor_html", :editor => tag.strong(t(".basic_terms.editor")) %>
- + <%= t ".basic_terms.a_node_html", :node => tag.strong(t(".basic_terms.node")) %>
- + <%= t ".basic_terms.a_way_html", :way => tag.strong(t(".basic_terms.way")) %>
- + <%= t ".basic_terms.a_tag_html", :tag => tag.strong(t(".basic_terms.tag")) %>

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

- +

<%= t ".rules.para_1_html", :imports_link => link_to(t(".rules.imports"), t(".rules.imports_url")), :automated_edits_link => link_to(t(".rules.automated_edits"), t(".rules.automated_edits_url")) %>

-- 2.39.5