From 986e1a5412d8ddb2bf3074010319c8079ffdb492 Mon Sep 17 00:00:00 2001 From: Soltus <83791825+Soltus@users.noreply.github.com> Date: Sun, 5 Feb 2023 11:09:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=97=B6=E9=9A=90=E8=97=8F?= =?UTF-8?q?=20protyle-hint=20(#7247)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 搜索时隐藏 protyle-hint * 搜索时隐藏 protyle-hint * 更新说明 --- app/src/search/spread.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/search/spread.ts b/app/src/search/spread.ts index 99f89d220..503e8a74f 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 };