Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: The height of the dividing line adjusts with font size (#15701)

Jeffrey Chen15f116f34431
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 320b008a95..b556971b47 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);
}
}
}