Skip to content

Commit

Permalink
fix: add z-index to context menu (#213)
Browse files Browse the repository at this point in the history
add z-index to the context menu to avoid being obstructed by the nav bar
  • Loading branch information
whatGUI authored Dec 27, 2024
1 parent af0b3af commit 4022838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/home/folder/context-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const ContextMenu = () => {
id={1}
animation="scale"
theme={colorMode() !== "dark" ? "light" : "dark"}
style="z-index: var(--hope-zIndices-popover)"
>
<For each={["rename", "move", "copy", "delete"]}>
{(name) => (
Expand Down

0 comments on commit 4022838

Please sign in to comment.