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.
Feat(Builder): Fix block menu width (#7946)
Bently956165adf3b3
diff --git a/rnd/autogpt_builder/src/components/edit/control/BlocksControl.tsx b/rnd/autogpt_builder/src/components/edit/control/BlocksControl.tsxindex 5040950691..2440fd4233 100644--- a/rnd/autogpt_builder/src/components/edit/control/BlocksControl.tsx+++ b/rnd/autogpt_builder/src/components/edit/control/BlocksControl.tsx@@ -75,7 +75,7 @@ export const BlocksControl: React.FC<BlocksControlProps> = ({side="right"sideOffset={22}align="start"- className="w-96 p-0"+ className="w-[30rem] p-0"data-id="blocks-control-popover-content"><Card className="border-none shadow-md">diff --git a/rnd/autogpt_builder/src/components/ui/card.tsx b/rnd/autogpt_builder/src/components/ui/card.tsxindex 38721bab73..d4ecf66baa 100644--- a/rnd/autogpt_builder/src/components/ui/card.tsx+++ b/rnd/autogpt_builder/src/components/ui/card.tsx@@ -9,7 +9,7 @@ const Card = React.forwardRef<<divref={ref}className={cn(- "min-w-fit rounded-xl border border-neutral-200 bg-white text-neutral-950 shadow dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",+ "rounded-xl border border-neutral-200 bg-white text-neutral-950 shadow dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",className,)}{...props}