diff --git a/autogpt_platform/frontend/src/components/ui/carousel.tsx b/autogpt_platform/frontend/src/components/ui/carousel.tsx index cf5ff95f20..8a391b5b39 100644 --- a/autogpt_platform/frontend/src/components/ui/carousel.tsx +++ b/autogpt_platform/frontend/src/components/ui/carousel.tsx @@ -213,7 +213,7 @@ const CarouselPrevious = React.forwardRef< className={cn( "absolute h-[52px] w-[52px] rounded-full", orientation === "horizontal" - ? "-bottom-20 right-24 -translate-y-1/2" + ? "right-24 top-0" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", className, )} @@ -259,7 +259,7 @@ const CarouselNext = React.forwardRef< className={cn( "absolute h-[52px] w-[52px] rounded-full", orientation === "horizontal" - ? "-bottom-20 right-4 -translate-y-1/2" + ? "right-4 top-0" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", className, )} @@ -302,7 +302,7 @@ const CarouselIndicator = React.forwardRef< return (