mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 04:57:38 +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 {
|
||||
max-width: 50%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
.comment img {
|
||||
max-width: 80%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue