An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: icon
Vanessa37f950ba4f60
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex 286d1d3593..d1c6aef9b7 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -1885,7 +1885,7 @@ export class Gutter {if (nodeElement.getAttribute("data-type") === "NodeAttributeView") {const iconElement = nodeElement.querySelector(".item__graphic");if (iconElement) {- this.element.style.top = `${iconElement.getBoundingClientRect().top - (window.siyuan.config.editor.fontSize * 1.625 - 14) / 2}px`;+ this.element.style.top = `${Math.max(iconElement.getBoundingClientRect().top - (window.siyuan.config.editor.fontSize * 1.625 - 14) / 2, wysiwyg.parentElement.getBoundingClientRect().top)}px`;} else {this.element.style.top = `${Math.max(rect.top, wysiwyg.parentElement.getBoundingClientRect().top) + 8}px`;}