We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76966b commit 87d434aCopy full SHA for 87d434a
src/components/modal/ActionConfirmModal.tsx
@@ -19,10 +19,13 @@ const ActionConfirmModal = ({
19
}: AlertProps) => {
20
return (
21
<div
22
- className="absolute inset-0 z-50 flex items-center justify-center bg-black/50"
+ className="fixed inset-0 z-50 flex items-center justify-center bg-black/50"
23
onClick={onCancel}
24
>
25
- <div className="flex h-[200px] w-[294px] flex-col items-center justify-center rounded-2xl bg-white">
+ <div
26
+ className="flex h-[200px] w-[294px] flex-col items-center justify-center rounded-2xl bg-white"
27
+ onClick={(e) => e.stopPropagation()}
28
+ >
29
<h3 className="text-2xl font-bold">{title}</h3>
30
<p className="mt-[9px] text-center text-xl font-medium">
31
{message.map((line, index) => (
0 commit comments