From: Anton Khorev Date: Wed, 15 May 2024 13:42:21 +0000 (+0300) Subject: Replace .term sprite class with .d-flex container X-Git-Tag: live~471^2~5 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/4e42bccd5043141dd6acbeaa2e5b5a29f70fb45a Replace .term sprite class with .d-flex container --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index c99fb9e4e..71de054ce 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -905,12 +905,6 @@ div.secondary-actions { /*rtl:ignore*/ background-position: -50px 0; } - .sprite.term { - margin-right: 10px; - vertical-align: middle; - display: inline-block; - } - .sprite.node { /*rtl:ignore*/ background-position: -100px 0; } diff --git a/app/views/site/_any_questions.html.erb b/app/views/site/_any_questions.html.erb index 6036623f9..3458999a6 100644 --- a/app/views/site/_any_questions.html.erb +++ b/app/views/site/_any_questions.html.erb @@ -1,6 +1,6 @@ -

<%= t ".title" %>

-
- +

<%= 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 ed3d6ceb3..a10849585 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -30,27 +30,27 @@

<%= t ".basic_terms.paragraph_1" %>

-
-

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

- +

<%= 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")) %>