From: Anton Khorev Date: Tue, 21 May 2024 17:43:55 +0000 (+0300) Subject: Use .icon-link to align logo X-Git-Tag: live~742^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1f4c06c01aa76eef18598c5e72360a0ffae7dcce?hp=56a34d85ccacb9068f4c2dae0be1991b31a82e16 Use .icon-link to align logo --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index aa8b9d65b..b4279016a 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -107,14 +107,8 @@ header { padding: $lineheight * 0.5; } - img.logo { - margin-top: -2px; - } - h1 { font-size: 18px; - line-height: 1.2; - padding-top: 15px; } .btn { diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index dfe74a750..aa05aff84 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"), :width => 30, :height => 30, :class => "logo" %> +

+ + <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :size => 30 %> <%= t "layouts.project_name.h1" %>