Skip to content

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

:art: Add spacing below reference text for dashed underlines https://github.com/siyuan-note/siyuan/issues/19278

Daniel16f49d669f43
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 7cca87b356..e2a0285176 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -541,6 +541,7 @@
span[data-type~="block-ref"]:not(.av__celltext),
span[data-type~="file-annotation-ref"] {
// 按固定长度绘制虚线,并在换行后的每段文字下方重复显示。
+ padding-bottom: 2px;
background-image: repeating-linear-gradient(to right, var(--protyle-ref-line-color) 0 6px, transparent 6px 9px);
background-position: left bottom;
background-size: 9px 1px;