From 31b13b1cc7c332f75be997272f8cf2a569888ea8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 27 Jun 2023 10:30:20 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/8625 --- app/src/assets/scss/component/_typography.scss | 2 +- app/src/assets/scss/protyle/_wysiwyg.scss | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index c693100dd..0bd80e101 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -444,7 +444,7 @@ hr { border: 0; border-bottom: 1px solid var(--b3-theme-background-light); - margin: 8px 0; + margin: 21px 0; } table { diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index 75b54c4ff..d7d78cd66 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -34,7 +34,19 @@ cursor: pointer; & > div { - border-bottom: 1px solid var(--b3-theme-background-light) + padding-left: 100%; + position: relative; + height: 26px; + + &:after { + position: absolute; + content: " "; + height: 1px; + background-color: var(--b3-theme-background-light); + width: calc(100% - 1px); + left: 0; + top: 13px; + } } } @@ -516,10 +528,6 @@ height: 36px; } - &.hr { - height: auto; - } - &.bq { height: 42px;