Make embedded images keep aspect ration when shrinking
This commit is contained in:
parent
f7c182dcd8
commit
ccfe7d0eeb
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user