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 { .logo {
float: left; float: left;
margin: 10px; margin: 10px;
img {
display: block;
max-width: 100%;
height: auto;
}
} }
.details { .details {

View file

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