We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74b0872 + 7763234 commit 17bad00Copy full SHA for 17bad00
src/components/Polaroid/PolaroidDetail/index.tsx
@@ -63,6 +63,10 @@ const PolaroidDetailModal = ({
63
<Modal isOpen={isOpen} onClose={onClose}>
64
<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">
65
<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
+ />
70
<div className="relative touch-pan-x overflow-x-hidden">
71
<Carousel
72
ref={carouselRef}
@@ -116,10 +120,6 @@ const PolaroidDetailModal = ({
116
120
/>
117
121
</div>
118
122
)}
119
- <div
- className="absolute left-0 top-0 h-full w-full"
- onClick={onClose}
- />
123
124
</Modal>
125
)
0 commit comments