AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(marketplace): Fix margin between arrows and carousel (#9745)
Abhimanyu Yadav0fc423fd55ec
diff --git a/autogpt_platform/frontend/src/components/ui/carousel.tsx b/autogpt_platform/frontend/src/components/ui/carousel.tsxindex 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 (<divref={ref}- className={cn("relative top-10 flex h-3 items-center gap-2", className)}+ className={cn("relative top-7 flex h-3 items-center gap-2", className)}{...props}>{scrollSnaps.map((_, index) => (