From c19f2a07b5a4d3b6b2028b3fd297b7e215b0b918 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Tue, 13 Feb 2024 12:09:22 +0100 Subject: [PATCH] Scale content images always to 100% (#87) it seems that images uploaded in sharepoint word documents get strange default with/height attributes (e.g. width=256) although the source images is >2000px width. so we need to scale always as desired and cannot rely on the max. dimension of the source image. --- styles/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/styles.css b/styles/styles.css index 3628e459..5d2ac0d6 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -123,7 +123,7 @@ h6 { img { margin: 0 auto; - max-width: 100%; + width: 100%; height: auto; }