From 40228387c32b045319dc0ea4e38299f430ae8d34 Mon Sep 17 00:00:00 2001 From: whatGUI Date: Fri, 27 Dec 2024 21:10:53 +0800 Subject: [PATCH] fix: add z-index to context menu (#213) add z-index to the context menu to avoid being obstructed by the nav bar --- src/pages/home/folder/context-menu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/home/folder/context-menu.tsx b/src/pages/home/folder/context-menu.tsx index 2c6de42d9a..7dd6ed73ac 100644 --- a/src/pages/home/folder/context-menu.tsx +++ b/src/pages/home/folder/context-menu.tsx @@ -40,6 +40,7 @@ export const ContextMenu = () => { id={1} animation="scale" theme={colorMode() !== "dark" ? "light" : "dark"} + style="z-index: var(--hope-zIndices-popover)" > {(name) => (