From 8264be470b6089fc5fd03d13f2f5a7aae7b530b9 Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Fri, 19 Aug 2022 21:19:58 +0300 Subject: [PATCH] limit image width in markdown note --- src/content/theme/markdown.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/content/theme/markdown.css b/src/content/theme/markdown.css index 3003fb6..031b2eb 100644 --- a/src/content/theme/markdown.css +++ b/src/content/theme/markdown.css @@ -110,6 +110,10 @@ white-space: pre; } +.markdown-note img { + max-width: 100%; +} + /* narrow screens */ @media only screen and (max-width: 600px) {