Skip to content

Commit

Permalink
Limit height not width for logos to allow for banner-style logos
Browse files Browse the repository at this point in the history
As this logo is at the top of the page, width either side being white space, this is a prime spot for using a banner-style logo. By limiting the image height, rather than width, this allows the logo to take up as much horizontal space as it likes.
  • Loading branch information
ChrisLovering authored and supakeen committed Jun 3, 2023
1 parent 47a789d commit 61c8c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/asset/pinnwand.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ header nav ul {
vertical-align: middle;

img.logo {
width: 3rem;
height: 5rem;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pinnwand/static/pinnwand.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ header nav ul {
display: inline-block;
vertical-align: middle; }
header nav ul li img.logo {
width: 3rem; }
height: 5rem; }

div.file-show {
margin-top: .5rem; }
Expand Down

0 comments on commit 61c8c8d

Please sign in to comment.