]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4295'
authorTom Hughes <tom@compton.nu>
Tue, 17 Oct 2023 17:49:58 +0000 (18:49 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 17 Oct 2023 17:49:58 +0000 (18:49 +0100)
app/assets/stylesheets/common.scss
app/views/layouts/_header.html.erb

index 91f846902e6886e0c3313e6ed87a2a66ae1f9023..73226a51823d48aebae0d9df8a74736fa6446240 100644 (file)
@@ -109,31 +109,14 @@ header {
     float: left;
   }
 
-  a, a:hover {
-    text-decoration: none;
-  }
-
   img.logo {
-    width: 30px;
-    height: 30px;
     margin-top: -2px;
-    vertical-align: middle;
   }
 
   h1 {
     font-size: 18px;
-    font-weight: 600;
     line-height: 1.2;
-    margin: 0;
     padding-top: 15px;
-
-    a {
-      color: #000;
-    }
-
-    a:hover {
-      color: #000;
-    }
   }
 
   .btn {
index 5f0d0d4d29f45a32ccc9834766e6f28ce5db1b50..fb5c018392364bb4e5f945c4d7d6f36c2de5afcb 100644 (file)
@@ -1,7 +1,7 @@
 <header class="closed clearfix">
-  <h1>
-    <a href="<%= root_path %>" class="geolink">
-      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
+  <h1 class="m-0 fw-semibold">
+    <a href="<%= root_path %>" class="text-black text-decoration-none geolink">
+      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :width => 30, :height => 30, :class => "logo" %>
       <%= t "layouts.project_name.h1" %>
     </a>
   </h1>