chore(SW-96): cleanup css
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 1090px;
|
||||
height: 725px;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -76,18 +76,17 @@ export function DesktopLightbox({ images, children }: DesktopLightboxProps) {
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
exit={{ opacity: 0 }}
|
||||
transition={{ duration: 0.2 }}
|
||||
className={styles.overlay}
|
||||
/>
|
||||
</Dialog.Overlay>
|
||||
<Dialog.Content className={styles.content}>
|
||||
<Dialog.Content asChild>
|
||||
<motion.div
|
||||
className={styles.content}
|
||||
initial={{ opacity: 0, scale: 0.95 }}
|
||||
animate={{ opacity: 1, scale: 1 }}
|
||||
animate={{ opacity: 1, scale: 1, x: "-50%", y: "-50%" }}
|
||||
exit={{ opacity: 0, scale: 0.95 }}
|
||||
style={{
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
}}
|
||||
transition={{ duration: 0.2 }}
|
||||
>
|
||||
{isFullView ? (
|
||||
<FullView
|
||||
|
||||
Reference in New Issue
Block a user