Skip to content

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

搜索时隐藏 protyle-hint (#7247)

Soltus986e1a5412d8
diff --git a/app/src/search/spread.ts b/app/src/search/spread.ts
index 99f89d2206..503e8a74f2 100644
--- a/app/src/search/spread.ts
+++ b/app/src/search/spread.ts
@@ -99,5 +99,6 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
}, dialog.element.querySelector(".b3-dialog__container").lastElementChild, () => {
dialog.destroy();
});
- dialog.element.firstElementChild.setAttribute("style", "z-index:199"); // https://github.com/siyuan-note/siyuan/issues/3515
+ // 搜索面板层级需高于 201(.protyle-hint) 且小于205(.block__popover)
+ dialog.element.firstElementChild.setAttribute("style", "z-index:202"); // https://github.com/siyuan-note/siyuan/issues/3515
};