]> git.openstreetmap.org Git - rails.git/commitdiff
Remove some h1/logo custom css
authorAnton Khorev <tony29@yandex.ru>
Mon, 16 Oct 2023 09:23:49 +0000 (12:23 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 16 Oct 2023 09:32:06 +0000 (12:32 +0300)
app/assets/stylesheets/common.scss
app/views/layouts/_header.html.erb

index 6ff46c07ce5be5304b8d42d0cfc777bef7974b85..44b32a58bc4a9641c3f547515a827b42b9412dc1 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 8ff04536d19b6d4cbe99f41117b1448538c619f8..204cc16f04c2f7f66c067b4823e95f59d9bbd44f 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>