Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/4823'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed May 22, 2024
2 parents e488e4c + 1f4c06c commit 6e71f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header class="d-flex bg-body text-nowrap closed z-3">
<h1 class="m-0 fw-semibold">
<a href="<%= root_path %>" class="text-body-emphasis 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" %>
<h1 class="d-flex m-0 fw-semibold">
<a href="<%= root_path %>" class="icon-link gap-1 text-body-emphasis text-decoration-none geolink">
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :size => 30 %>
<%= t "layouts.project_name.h1" %>
</a>
</h1>
Expand Down

0 comments on commit 6e71f16

Please sign in to comment.