An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/5252
Vanessa3af248fe04da
diff --git a/app/src/assets/scss/_block.scss b/app/src/assets/scss/_block.scssindex 0a1abf7b1b..c2be706e84 100644--- a/app/src/assets/scss/_block.scss+++ b/app/src/assets/scss/_block.scss@@ -3,7 +3,7 @@background-color: var(--b3-theme-background);position: absolute;box-shadow: var(--b3-dialog-shadow);- z-index: 201;+ z-index: 205;width: 60vw;word-break: break-word;border-radius: 4px;@@ -19,7 +19,7 @@}&--top {- z-index: 303;+ z-index: 206;}&--move {diff --git a/app/src/assets/scss/base.scss b/app/src/assets/scss/base.scssindex fad7faaa7a..932581d8f9 100644--- a/app/src/assets/scss/base.scss+++ b/app/src/assets/scss/base.scss@@ -35,8 +35,13 @@ ctrl+p 搜索: 199// 需小于 .block__popover.protyle-util: 200+// 引用提示需小于 .block__popover+.b3-menu: 201++// 需小于 .b3-menu 悬浮窗点击更多// 需小于 .b3-dialog https://ld246.com/article/1637204682648-.block__popover: 201+.block__popover: 205+.block__popover--top: 206// 需大于 .block__popover.b3-menu: 210diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.tsindex 2edeeba4f9..b4710ea9aa 100644--- a/app/src/protyle/hint/index.ts+++ b/app/src/protyle/hint/index.ts@@ -42,7 +42,7 @@ export class Hint {this.element = document.createElement("div");this.element.setAttribute("data-close", "false");// height 402 根据 .emojis max-height+8 得来- this.element.setAttribute("style", `overflow:auto;max-height:402px;width:${Math.max(protyle.element.clientWidth / 2, 320)}px;box-sizing: border-box;`);+ this.element.setAttribute("style", `z-index: 201;overflow:auto;max-height:402px;width:${Math.max(protyle.element.clientWidth / 2, 320)}px;box-sizing: border-box;`);this.element.className = "b3-menu b3-list b3-list--background fn__none";this.element.addEventListener("click", (event) => {const eventTarget = event.target as HTMLElement;