diff --git a/front/components/home/Carousel.tsx b/front/components/home/Carousel.tsx index 1b9cfd034c6e..83e6494a3951 100644 --- a/front/components/home/Carousel.tsx +++ b/front/components/home/Carousel.tsx @@ -163,7 +163,7 @@ const CarouselContent = React.forwardRef< ref={ref} className={classNames( "flex", - orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", + orientation === "horizontal" ? "" : "-mt-4 flex-col", className )} {...props} @@ -186,7 +186,7 @@ const CarouselItem = React.forwardRef< aria-roledescription="slide" className={classNames( "min-w-0 shrink-0 grow-0 basis-full", - orientation === "horizontal" ? "pl-4" : "pt-4", + orientation === "horizontal" ? "" : "pt-4", className )} {...props} diff --git a/front/components/home/ContentBlocks.tsx b/front/components/home/ContentBlocks.tsx index 544086a9e6eb..5e6dc35c7537 100644 --- a/front/components/home/ContentBlocks.tsx +++ b/front/components/home/ContentBlocks.tsx @@ -209,12 +209,13 @@ export const CarousselContentBlock = ({