mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
chore: updated animation
Signed-off-by: Adithya Krishna <adithya@documenso.com>
This commit is contained in:
@ -79,7 +79,7 @@ export const DocumentDropzoneDisabledCardLeftVariants: Variants = {
|
|||||||
hover: {
|
hover: {
|
||||||
x: 30,
|
x: 30,
|
||||||
y: 0,
|
y: 0,
|
||||||
transition: { type: 'spring', duration: 0.25, bounce: 0.5 },
|
transition: { type: 'spring', duration: 0.3, stiffness: 500 },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ export const DocumentDropzoneDisabledCardRightVariants: Variants = {
|
|||||||
hover: {
|
hover: {
|
||||||
x: -40,
|
x: -40,
|
||||||
y: 5,
|
y: 5,
|
||||||
transition: { type: 'spring', duration: 0.25, bounce: 0.5 },
|
transition: { type: 'spring', duration: 0.3, stiffness: 500 },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -114,5 +114,6 @@ export const DocumentDropzoneDisabledCardCenterVariants: Variants = {
|
|||||||
x: -20,
|
x: -20,
|
||||||
y: 0,
|
y: 0,
|
||||||
rotate: -5,
|
rotate: -5,
|
||||||
|
transition: { type: 'spring', duration: 0.3, stiffness: 1000 },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user