Skip to content

Commit

Permalink
Make embedded images keep aspect ration when shrinking
Browse files Browse the repository at this point in the history
  • Loading branch information
ButteredCats authored Apr 7, 2024
1 parent f7c182d commit ccfe7d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1177,11 +1177,13 @@ a.search_subreddit:hover {

.comment img {
max-width: 50%;
height: auto;
}

@media screen and (max-width: 500px) {
.comment img {
max-width: 80%;
height: auto;
}
}

Expand Down

0 comments on commit ccfe7d0

Please sign in to comment.