fix(layout): stop promo cards from bouncing

This commit is contained in:
poyrazavsever
2026-09-01 09:45:14 +03:00
parent 5c633e5f7a
commit 594c4ae9fd
+1 -8
View File
@@ -315,16 +315,9 @@ function PromoRail({
}} }}
className="space-y-3" className="space-y-3"
> >
{activeCards.map((card, index) => ( {activeCards.map((card) => (
<motion.div <motion.div
key={card.id} key={card.id}
initial={reduceMotion ? false : { opacity: 0, y: 8 }}
animate={{ opacity: 1, y: 0 }}
transition={{
duration: reduceMotion ? 0 : 0.28,
delay: reduceMotion ? 0 : index * 0.045,
ease: "easeOut",
}}
whileHover={reduceMotion ? undefined : { y: -3 }} whileHover={reduceMotion ? undefined : { y: -3 }}
> >
<PromoCard <PromoCard