From: Andy Allan Date: Wed, 20 Oct 2021 16:48:21 +0000 (+0100) Subject: Use em rather than fixed pixels to offset the copyright symbol X-Git-Tag: live~1903^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1a97236747e1bf93d9fc3039bbf65e48a1b76d50 Use em rather than fixed pixels to offset the copyright symbol Fixes #3302 Also fixes an error where the h5 tag was closed incorrectly. --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 012021796..ccb0d7493 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1745,8 +1745,8 @@ dl.dl-inline { .byosm span { display: inline-block; - width: 20px; - margin-left: -20px; + width: 1em; + margin-left: -1em; } } diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index e127cc5b5..3753dcc8d 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -3,7 +3,7 @@
-
<%= t ".copyright_html", :locale => @locale %>
+
<%= t ".copyright_html", :locale => @locale %>