Skip to content

Commit

Permalink
Fix modal styling
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Sep 3, 2024
1 parent 96226e2 commit 0cf8457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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-[1050] bg-white rounded',
className,
)}
{...rest}
Expand All @@ -50,7 +50,7 @@ export const Modal = ({
bottom-0
left-0
right-0
z-[1040]
z-[9999999]
bg-black
opacity-50
transition-opacity
Expand Down

0 comments on commit 0cf8457

Please sign in to comment.