Skip to content

Commit

Permalink
fix(react): increase drawer zindex (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas authored Oct 12, 2023
1 parent c12351a commit ae19f47
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-eyes-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sweatpants/react': patch
---

Increase drawer z-index
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/react/src/drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ export type DrawerProps = ComponentPropsWithRef<'div'> &

const overlay = css({
position: 'fixed',
zIndex: '2',
zIndex: '10',
inset: 0,
background: '#b9bbc650' // gray8
});

const content = css({
position: 'fixed',
zIndex: '2',
zIndex: '11',
insetY: '0',
right: '0',
background: 'baseBg',
Expand Down

0 comments on commit ae19f47

Please sign in to comment.