Skip to content

Commit 4022838

Browse files
authored
fix: add z-index to context menu (#213)
add z-index to the context menu to avoid being obstructed by the nav bar
1 parent af0b3af commit 4022838

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/home/folder/context-menu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const ContextMenu = () => {
4040
id={1}
4141
animation="scale"
4242
theme={colorMode() !== "dark" ? "light" : "dark"}
43+
style="z-index: var(--hope-zIndices-popover)"
4344
>
4445
<For each={["rename", "move", "copy", "delete"]}>
4546
{(name) => (

0 commit comments

Comments
 (0)