From 1f4c06c01aa76eef18598c5e72360a0ffae7dcce Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 21 May 2024 20:43:55 +0300 Subject: [PATCH 1/1] Use .icon-link to align logo --- app/assets/stylesheets/common.scss | 6 ------ app/views/layouts/_header.html.erb | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) 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" %>

-- 2.39.5