Skip to content

Commit

Permalink
make sure post images maintain a proper image aspect and aren't force…
Browse files Browse the repository at this point in the history
…d into squares
  • Loading branch information
daattali authored Oct 27, 2020
1 parent 9edafd1 commit cf2e759
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/css/beautifuljekyll.css
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ footer .footer-custom-content {
filter: grayscale(0%);
}
.post-preview .post-image img {
height: 100%;
width: 100%;
max-height: 100%;
max-width: 100%;
}
.post-preview .post-image-short {
margin-top: -2.1875rem;
Expand All @@ -520,8 +520,8 @@ footer .footer-custom-content {
display: none;
}
.post-preview .post-image-small img {
width: 6.25rem;
height: 6.25rem;
max-width: 6.25rem;
max-height: 6.25rem;
}
@media (max-width: 500px) {
.post-preview .post-image {
Expand Down

0 comments on commit cf2e759

Please sign in to comment.