Skip to content

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

:art: Improve the drag-and-drop experience in the list and super block https://github.com/siyuan-note/siyuan/issues/17893

Daniel9eaf1c7acbeb
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 4766e9abda..5dac14ff14 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -318,7 +318,8 @@
position: absolute;
right: 0;
height: 4px;
- background-color: var(--b3-theme-primary-lighter);
+ // 横向插入线使用独立颜色变量,避免与 ::before 目标标记共用 --drag-base-bg 导致半透明叠加变深
+ background-color: var(--drag-line-bg);
pointer-events: none;
left: var(--drag-line-left);
}