make sure post images maintain a proper image aspect and aren't forced into squares

This commit is contained in:
Dean Attali 2020-10-27 18:15:36 -04:00 committed by GitHub
parent 9edafd17a5
commit cf2e75963c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,8 +498,8 @@ footer .footer-custom-content {
filter: grayscale(0%); filter: grayscale(0%);
} }
.post-preview .post-image img { .post-preview .post-image img {
height: 100%; max-height: 100%;
width: 100%; max-width: 100%;
} }
.post-preview .post-image-short { .post-preview .post-image-short {
margin-top: -2.1875rem; margin-top: -2.1875rem;
@ -520,8 +520,8 @@ footer .footer-custom-content {
display: none; display: none;
} }
.post-preview .post-image-small img { .post-preview .post-image-small img {
width: 6.25rem; max-width: 6.25rem;
height: 6.25rem; max-height: 6.25rem;
} }
@media (max-width: 500px) { @media (max-width: 500px) {
.post-preview .post-image { .post-preview .post-image {