UX: add height attribute to logo on error pages
This matches what we do in the home-logo widget. The height is set as an attribute and we use CSS to get a scaled width that preserves the aspect ratio of the image.
This commit is contained in:
parent
a1888b301b
commit
e2214b50f3
|
@ -3,10 +3,10 @@
|
|||
<div class="wrap">
|
||||
<div class="contents">
|
||||
<div class="row">
|
||||
<div class="title span13">
|
||||
<div class="logo-wrapper">
|
||||
<a href="<%= path "/" %>">
|
||||
<%- if application_logo_url.present? %>
|
||||
<img src="<%= application_logo_url %>" alt="<%= SiteSetting.title %>" id="site-logo">
|
||||
<img src="<%= application_logo_url %>" height="36" alt="<%= SiteSetting.title %>" id="site-logo">
|
||||
<%- else %>
|
||||
<h2 id='site-text-logo'><%= SiteSetting.title %></h2>
|
||||
<%- end %>
|
||||
|
|
Loading…
Reference in New Issue