Skip to content

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

:art: Restore subtle virtual reference underlines https://github.com/siyuan-note/siyuan/issues/19278

Daniel29fdf26a34c2
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index d575c85ab8..65725b4cdf 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -520,11 +520,11 @@
}
span[data-type="virtual-block-ref"] {
- --protyle-ref-line-color: var(--b3-theme-on-surface);
+ border-bottom: 1px dashed var(--b3-theme-on-surface);
transition: var(--b3-transition);
&:hover {
- --protyle-ref-line-color: var(--b3-theme-on-background);
+ border-color: var(--b3-theme-on-background);
}
}
@@ -542,7 +542,6 @@
--protyle-ref-line-color: var(--b3-protyle-inline-fileref-color);
}
- span[data-type="virtual-block-ref"],
span[data-type~="block-ref"]:not(.av__celltext),
span[data-type~="file-annotation-ref"] {
// 按固定长度绘制虚线,并在换行后的每段文字下方重复显示。