From 37dc7068d9866cab4c2ae9016f45b61ee6a809fc Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 9 Jul 2022 20:11:41 +0800 Subject: [PATCH] :bug: Style: fix that the width of mermaid image exceeds the post container --- assets/css/_page/_single.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/css/_page/_single.scss b/assets/css/_page/_single.scss index 0ca9c11c..e27efb8d 100644 --- a/assets/css/_page/_single.scss +++ b/assets/css/_page/_single.scss @@ -256,6 +256,9 @@ max-width: 100%; min-height: 1em; } + svg { + max-width: 100%; + } figure { margin: 0.5rem;