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