Revert "1234"

This reverts commit 621ee60521.
This commit is contained in:
Desktop
2025-11-13 00:35:50 +05:00
parent e3c0c98e15
commit 2b8d342e75
2 changed files with 30 additions and 20 deletions

View File

@@ -569,28 +569,22 @@ export default function Images() {
isLoading={isUpdatingStatus}
/>
{/* Lightbox - Use same background as Modal */}
{/* Lightbox */}
{lightboxOpen && (
<div className="fixed inset-0 z-[999999] flex items-center justify-center">
{/* Modal background - same as ImageQueueModal */}
<div
className="fixed inset-0 h-full w-full bg-gray-400/50 backdrop-blur-[32px]"
<div className="fixed inset-0 z-[99999]">
<Lightbox
open={lightboxOpen}
close={() => setLightboxOpen(false)}
index={lightboxIndex}
slides={lightboxSlides}
on={{ view: ({ index }) => setLightboxIndex(index) }}
/>
{/* Custom Close Button - Match Modal Style */}
<button
onClick={() => setLightboxOpen(false)}
></div>
<div className="relative z-[9999999]">
<Lightbox
open={lightboxOpen}
close={() => setLightboxOpen(false)}
index={lightboxIndex}
slides={lightboxSlides}
on={{ view: ({ index }) => setLightboxIndex(index) }}
/>
{/* Custom Close Button - Match Modal Style */}
<button
onClick={() => setLightboxOpen(false)}
className="absolute right-3 top-3 z-[99999999] flex h-9.5 w-9.5 items-center justify-center rounded-full bg-gray-100 text-gray-400 transition-colors hover:bg-gray-200 hover:text-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white sm:right-6 sm:top-6 sm:h-11 sm:w-11"
aria-label="Close lightbox"
>
className="absolute right-3 top-3 z-[999999] flex h-9.5 w-9.5 items-center justify-center rounded-full bg-gray-100 text-gray-400 transition-colors hover:bg-gray-200 hover:text-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white sm:right-6 sm:top-6 sm:h-11 sm:w-11"
aria-label="Close lightbox"
>
<svg
width="24"
height="24"