From 4ef03f4da39be740fa2a0dfbe317d0a6a3fa5142 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 2 Nov 2021 09:54:16 +0800 Subject: [PATCH] fix: image width in markdown, close #221 --- src/styles/markdown.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles/markdown.css b/src/styles/markdown.css index 86c0543..ea3e817 100644 --- a/src/styles/markdown.css +++ b/src/styles/markdown.css @@ -5,6 +5,10 @@ --prism-font-family: 'Input Mono', monospace; } +.prose img { + width: 100%; +} + html:not(.dark) .prose { --prism-foreground: #393a34; --prism-background: #fbfbfb;