From 0a49a07f2c38abf93884db8a674d6b1a0d5de0f6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 14 Nov 2024 12:47:59 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/13143 --- app/src/assets/scss/protyle/_wysiwyg.scss | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index bbff742d6..b74cd9f1a 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -68,7 +68,7 @@ } &.list { - padding-left: 0; + padding: 0; .dragover { &__top:not(.av__row) { @@ -157,11 +157,15 @@ } & > div:nth-child(2) { - margin-top: 0 !important; + margin-top: 0; + } + + & > div:nth-last-child(2) { + margin-bottom: 0; } & > [data-node-id] { - margin-left: 34px !important; + margin-left: 34px; padding-right: 0; &.code-block { @@ -169,13 +173,6 @@ margin-bottom: 4px; } } - - & > .list { - margin-left: 18px !important; - padding-left: 16px; - padding-top: 0; - padding-bottom: 0; - } } &.sb {