Skip to content

Commit

Permalink
fix(menu): update menu z-index for defined dropdown theme variable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kkieninger committed Nov 13, 2023
1 parent 83a850e commit 170198f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/blue-masks-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/theme": patch
---

Fix hard-coded z-index for Menu in favor of one defined from the theme
2 changes: 1 addition & 1 deletion packages/components/theme/src/components/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const baseStyleList = defineStyle({
color: "inherit",
minW: "3xs",
py: "2",
zIndex: 1,
zIndex: "dropdown",
borderRadius: "md",
borderWidth: "1px",
bg: $bg.reference,
Expand Down

1 comment on commit 170198f

@vercel
Copy link

@vercel vercel bot commented on 170198f Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.