diff --git a/components/blocks/CarouselFeature.tsx b/components/blocks/CarouselFeature.tsx index 5852aa6ec..936393d9e 100644 --- a/components/blocks/CarouselFeature.tsx +++ b/components/blocks/CarouselFeature.tsx @@ -22,6 +22,7 @@ const CarouselItem = ({ const commonStyles = 'transition-all delay-[50] duration-500 hover:scale-105 hover:z-20'; + const nonHoveredStyles = 'pl-4'; const actionsArray = button ? [button] : []; @@ -35,8 +36,11 @@ const CarouselItem = ({ return (
onClick(index)} style={{ textDecoration: 'none', overflow: 'visible' }} > @@ -59,7 +63,7 @@ const CarouselItem = ({ )} {headline && (

{textDisplayCondition && ( -

+

{text}

)} {buttonDisplayCondition && ( -
+
)}