From f3c8f3614df3525d7a167ae5c04ffd3789c4a4a2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 18 Jan 2024 11:23:32 +0800 Subject: [PATCH] :art: https://ld246.com/article/1705543250819 --- app/src/assets/scss/component/_typography.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index 013fafb9a..a0a45f86d 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -384,11 +384,10 @@ text-align: center; } - [data-subtype="mermaid"] { + [data-subtype="mermaid"] > [spin="1"] { + // 不能加到上一级,否则属性会跟随滚动 overflow: auto; - // https://github.com/siyuan-note/siyuan/issues/10186 - min-height: 32px; - display: table; + line-height: initial; } [data-subtype="plantuml"] img {