Make embedded images keep aspect ration when shrinking

This commit is contained in:
Butter Cat 2024-04-07 19:24:55 -04:00 committed by GitHub
parent f7c182dcd8
commit ccfe7d0eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1177,11 +1177,13 @@ a.search_subreddit:hover {
.comment img { .comment img {
max-width: 50%; max-width: 50%;
height: auto;
} }
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
.comment img { .comment img {
max-width: 80%; max-width: 80%;
height: auto;
} }
} }