Skip to content

Commit

Permalink
Fix modal z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Sep 3, 2024
1 parent ff615b1 commit 10e454c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Modal = ({
<div className={`relative ${!show && 'hidden'}`}>
<div
className={twMerge(
'fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-w-[100vw] max-h-[100vh] overflow-auto z-[1050] bg-white rounded',
'fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-w-[100vw] max-h-[100vh] overflow-auto z-[10000000] bg-white rounded',
className,
)}
{...rest}
Expand Down

0 comments on commit 10e454c

Please sign in to comment.