Adjust logo css on error pages
This commit is contained in:
parent
328c4fce50
commit
fa58f34b2c
2 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue