From 75b43524f21a96b508976768b5c6d1f3ecd44ce1 Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Tue, 22 Sep 2020 18:46:09 +0200 Subject: [PATCH] Prevent images from overflowing posts --- assets/css/blog.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/css/blog.css b/assets/css/blog.css index c72434f..5f2e432 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -22,7 +22,7 @@ h1, h2, h3, h4 { .post { display: block; - max-width: 800px; + max-width: 1000px; padding: 10px; @@ -46,6 +46,11 @@ h1, h2, h3, h4 { /* Otherwise the entire page overflows for some reason */ width: 100%; } + + p > img { + /* This should match all images used inside blog posts */ + width: 100%; + } } .post-title {