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:
@@ -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 }}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user