mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 10:20:16 +01:00
This commit is contained in:
parent
8d467c7df2
commit
ee62729dc2
31 changed files with 32 additions and 84 deletions
|
|
@ -390,7 +390,6 @@ export const assetMethodMenu = (target: HTMLElement, cb: () => void) => {
|
|||
}
|
||||
}).element);
|
||||
/// #if MOBILE
|
||||
window.siyuan.menus.menu.element.style.zIndex = "221";
|
||||
window.siyuan.menus.menu.fullscreen();
|
||||
/// #else
|
||||
const rect = target.getBoundingClientRect();
|
||||
|
|
@ -541,7 +540,6 @@ export const assetMoreMenu = (target: Element, element: Element, cb: () => void)
|
|||
},
|
||||
}).element);
|
||||
/// #if MOBILE
|
||||
window.siyuan.menus.menu.element.style.zIndex = "221";
|
||||
window.siyuan.menus.menu.fullscreen();
|
||||
/// #else
|
||||
const rect = target.getBoundingClientRect();
|
||||
|
|
|
|||
|
|
@ -108,6 +108,4 @@ export const openSearch = async (options: {
|
|||
}, dialog.element.querySelector(".b3-dialog__body"), () => {
|
||||
dialog.destroy({focus: "false"});
|
||||
});
|
||||
// 搜索面板层级需高于 201(.protyle-hint) 且小于205(.block__popover)
|
||||
dialog.element.firstElementChild.setAttribute("style", "z-index:202"); // https://github.com/siyuan-note/siyuan/issues/3515
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue