Adjust logo css on error pages

This commit is contained in:
Anton Khorev 2024-08-30 05:20:34 +03:00
parent 328c4fce50
commit fa58f34b2c
2 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,12 @@ body {
.logo {
float: left;
margin: 10px;
img {
display: block;
max-width: 100%;
height: auto;
}
}
.details {

View file

@ -7,8 +7,8 @@
<%= render :partial => "layouts/meta" %>
</head>
<body>
<a href="<%= root_path %>">
<%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text"), :class => "logo" %>
<a href="<%= root_path %>" class="logo">
<%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text") %>
</a>
<div class="details">
<%= yield %>