Put a max-size on inlined images

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-04-23 21:46:30 +02:00
parent 312e3674c3
commit 473e84916f
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 12 additions and 0 deletions

View file

@ -66,6 +66,12 @@
margin: -3px 0 0;
}
img {
max-width: 100%;
max-height: 400px;
object-fit: contain;
}
p, pre, blockquote {
margin-bottom: 20px;
white-space: pre-wrap;

View file

@ -800,6 +800,12 @@
margin: -3px 0 0;
}
img {
max-width: 100%;
max-height: 400px;
object-fit: contain;
}
p {
margin-bottom: 20px;
white-space: pre-wrap;