mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-05 14:07:39 +03:00
Make embedded images keep aspect ration when shrinking
This commit is contained in:
parent
f7c182dcd8
commit
ccfe7d0eeb
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue