Skip to content

Commit 17bad00

Browse files
authored
Merge pull request #145 from DDD-Community/fix/qa
[FIX] 폴라로이드 상세 모달
2 parents 74b0872 + 7763234 commit 17bad00

File tree

1 file changed

+4
-4
lines changed
  • src/components/Polaroid/PolaroidDetail

1 file changed

+4
-4
lines changed

src/components/Polaroid/PolaroidDetail/index.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ const PolaroidDetailModal = ({
6363
<Modal isOpen={isOpen} onClose={onClose}>
6464
<div className="relative mx-auto flex h-dvh max-w-md flex-1 touch-pan-x flex-col justify-center overflow-x-hidden py-10">
6565
<CloseIcon className="absolute left-5 top-5 cursor-pointer text-gray-0" />
66+
<div
67+
className="absolute left-0 top-0 h-full w-full"
68+
onClick={onClose}
69+
/>
6670
<div className="relative touch-pan-x overflow-x-hidden">
6771
<Carousel
6872
ref={carouselRef}
@@ -116,10 +120,6 @@ const PolaroidDetailModal = ({
116120
/>
117121
</div>
118122
)}
119-
<div
120-
className="absolute left-0 top-0 h-full w-full"
121-
onClick={onClose}
122-
/>
123123
</div>
124124
</Modal>
125125
)

0 commit comments

Comments
 (0)