Skip to content

Commit 359dc3e

Browse files
authored
Merge pull request #93 from summerDev96/refactor/modal
refactor: shadcn dialog 오버레이 40으로 수정
2 parents 56b3e5c + 135d4e9 commit 359dc3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const DialogOverlay = React.forwardRef<
2020
<DialogPrimitive.Overlay
2121
ref={ref}
2222
className={cn(
23-
'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
23+
'fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
2424
className,
2525
)}
2626
{...props}

0 commit comments

Comments
 (0)