From 7742223828d7015fb193f9b72e1919b8785aef51 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 8 Dec 2023 23:18:13 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/9844 --- app/src/assets/scss/component/_typography.scss | 4 ---- app/src/assets/scss/protyle/_wysiwyg.scss | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index cb3c08c025e..93710653f82 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -406,10 +406,6 @@ max-width: 100%; user-select: none; - &:not([style]) { - display: initial; - } - & > span:nth-child(2) { max-width: calc(100% - 10px); position: relative; diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index 7118dd46077..0f0ca47dbcf 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -294,6 +294,11 @@ } .img { + // 不能放在 typography 下 https://github.com/siyuan-note/siyuan/issues/9844 + &:not([style]) { + display: initial; + } + &--select { filter: brightness(0.68); }