Merged in feat/SW-2817-image-gallery-animation (pull request #2479)

feat: SW-2817 Update gallery animation

* feat: SW-2817 Update gallery animation


Approved-by: Erik Tiekstra
This commit is contained in:
Hrishikesh Vaipurkar
2025-07-02 07:21:25 +00:00
parent 45f80263ff
commit 7aed74611f

View File

@@ -67,8 +67,8 @@ export default function Lightbox({
className={`${styles.content} ${
isFullView ? styles.fullViewContent : styles.galleryContent
}`}
initial={{ opacity: 0, scale: 0.95 }}
animate={{ opacity: 1, scale: 1, x: "-50%", y: "-50%" }}
initial={{ opacity: 0, scale: 0.95, x: "-50%", y: "-50%" }}
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.95 }}
transition={{ duration: 0.2 }}
>