From: Anton Khorev Date: Mon, 16 Oct 2023 09:23:49 +0000 (+0300) Subject: Remove some h1/logo custom css X-Git-Tag: live~1048^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/afdfda9557a1c039342b130525b1e0af4f88e9de Remove some h1/logo custom css --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 6ff46c07c..44b32a58b 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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 { diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 8ff04536d..204cc16f0 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -1,7 +1,7 @@
-

- - <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %> +

+ + <%= 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" %>