From 1a97236747e1bf93d9fc3039bbf65e48a1b76d50 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 20 Oct 2021 17:48:21 +0100 Subject: [PATCH] Use em rather than fixed pixels to offset the copyright symbol Fixes #3302 Also fixes an error where the h5 tag was closed incorrectly. --- app/assets/stylesheets/common.scss | 4 ++-- app/views/site/about.html.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %>
-- 2.43.2