From 15f116f3443153a46058248c780e9b20f41c51f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Fri, 29 Aug 2025 10:50:34 +0800 Subject: [PATCH] :lipstick: The height of the dividing line adjusts with font size (#15701) --- app/src/assets/scss/protyle/_wysiwyg.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index 320b008a9..b556971b4 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -86,16 +86,16 @@ & > div { padding-left: 100%; position: relative; - height: 26px; + min-height: 1.625em; &::after { position: absolute; content: " "; - height: 1px; + height: calc(1em / 16); background-color: var(--b3-theme-background-light); width: calc(100% - 1px); left: 0; - top: 13px; + top: calc(1.625em / 2); } } }