Prevent images from overflowing posts

This commit is contained in:
PapaTutuWawa 2020-09-22 18:46:09 +02:00
parent f1d8758369
commit 75b43524f2

View File

@ -22,7 +22,7 @@ h1, h2, h3, h4 {
.post { .post {
display: block; display: block;
max-width: 800px; max-width: 1000px;
padding: 10px; padding: 10px;
@ -46,6 +46,11 @@ h1, h2, h3, h4 {
/* Otherwise the entire page overflows for some reason */ /* Otherwise the entire page overflows for some reason */
width: 100%; width: 100%;
} }
p > img {
/* This should match all images used inside blog posts */
width: 100%;
}
} }
.post-title { .post-title {