Skip to content

Commit

Permalink
fix: conflicting zindex of linkoverlay with opacity (#5632)
Browse files Browse the repository at this point in the history
* fix: conflicting zindex of linkbox with opacity

* chore: add changeset
  • Loading branch information
m4x3d committed Feb 24, 2022
1 parent d6bed34 commit e4a990d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/nine-cars-sneeze.md
@@ -0,0 +1,6 @@
---
"@chakra-ui/layout": patch
---

Fixed zIndex in LinkOverlay so that content in LinkBox can have an opacity below
1
2 changes: 1 addition & 1 deletion packages/layout/src/link-box.tsx
Expand Up @@ -27,7 +27,7 @@ export const LinkOverlay = forwardRef<LinkOverlayProps, "a">((props, ref) => {
position: "absolute",
top: 0,
left: 0,
zIndex: 0,
zIndex: 1,
width: "100%",
height: "100%",
},
Expand Down

1 comment on commit e4a990d

@vercel
Copy link

@vercel vercel bot commented on e4a990d Feb 24, 2022

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.