diff --git a/src/components/ImageLightbox.tsx b/src/components/ImageLightbox.tsx index 5f107598..ce5da053 100644 --- a/src/components/ImageLightbox.tsx +++ b/src/components/ImageLightbox.tsx @@ -21,11 +21,17 @@ export function ImageLightbox({ imageUrl, onClose }: ImageLightboxProps) { "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95" )} - onPointerDownOutside={onClose} onEscapeKeyDown={onClose} > {imageUrl && ( <> + {/* Clickable background to close */} +
+ {/* Close button */}