]> git.openstreetmap.org Git - rails.git/commitdiff
Use em rather than fixed pixels to offset the copyright symbol
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 20 Oct 2021 16:48:21 +0000 (17:48 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 20 Oct 2021 16:48:21 +0000 (17:48 +0100)
Fixes #3302

Also fixes an error where the h5 tag was closed incorrectly.

app/assets/stylesheets/common.scss
app/views/site/about.html.erb

index 01202179690316e44e744cfdd5fdd630555b3521..ccb0d74932b5415cd8b60ecadeb2ac4d5188edac 100644 (file)
@@ -1745,8 +1745,8 @@ dl.dl-inline {
 
     .byosm span {
       display: inline-block;
 
     .byosm span {
       display: inline-block;
-      width: 20px;
-      margin-left: -20px;
+      width: 1em;
+      margin-left: -1em;
     }
   }
 
     }
   }
 
index e127cc5b502c2cae6ec1422299a6ff64bd42ae32..3753dcc8df59b54ed87f927ffaae570dcdb147f0 100644 (file)
@@ -3,7 +3,7 @@
     <div class='row'>
       <div class='col-sm-7 user-image'></div>
       <div class='col-sm-5 px-5 py-3 byosm'>
     <div class='row'>
       <div class='col-sm-7 user-image'></div>
       <div class='col-sm-5 px-5 py-3 byosm'>
-        <h5 class='text-white text-nowrap'><%= t ".copyright_html", :locale => @locale %></h4>
+        <h5 class='text-white text-nowrap'><%= t ".copyright_html", :locale => @locale %></h5>
       </div>
     </div>
     <div class='row'>
       </div>
     </div>
     <div class='row'>