Skip to content

Commit

Permalink
Centering logos on the exception page so they are not clipped when th…
Browse files Browse the repository at this point in the history
…e logo isn't a perfect square. Fixes #24 (#28)
  • Loading branch information
jwoertink authored May 25, 2021
1 parent b3d1db7 commit aa641f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exception_page/exception_page.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ monospace_font = "menlo, consolas, monospace"
display: block;
height: 64px;
width: 100%;
background-size: auto 100%;
background-size: 100%;
<%- if styles.logo_uri -%>
background-image: url("<%= styles.logo_uri %>");
<%- end -%>
background-position: right 0;
background-position: center center;
background-repeat: no-repeat;
}
Expand Down

0 comments on commit aa641f3

Please sign in to comment.