From 4ef73e6c6db9ff1a1c86532792a3a59071c51ee3 Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E5=BC=95=E8=BF=B0=E5=9D=97?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8C=E9=AB=98=E4=BA=AE=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=20(#13143)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 引述块的左边框不需要圆角 * 让高亮覆盖引述块的左边框 * 让子列表块的高亮与其他块的高亮对齐 * 让高亮覆盖引述块的左边框 --- app/src/assets/scss/component/_typography.scss | 2 ++ app/src/assets/scss/protyle/_wysiwyg.scss | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index 697b5cf1f..4034b4448 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -124,6 +124,8 @@ border-left: .25em solid var(--b3-theme-surface-lighter); background-color: var(--b3-bq-background); margin: 4px 0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; } .h1, diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index 037c55def..a8368d58a 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -55,6 +55,16 @@ } } + &.bq { + &.protyle-wysiwyg--select, + &.protyle-wysiwyg--hl { + &::after { + left: -0.25em; + width: calc(100% + 0.25em); + } + } + } + .bq { .dragover { &__top:not(.av__row) { @@ -173,6 +183,14 @@ padding-left: 16px; padding-top: 0; padding-bottom: 0; + + &.protyle-wysiwyg--select, + &.protyle-wysiwyg--hl { + &::after { + left: 16px; + width: calc(100% - 16px); + } + } } }