Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: fix ai button aspect ratio (#4574)

Oleg Isonen64b8abbb61f0
diff --git a/packages/design-system/src/components/ai-command-bar/command-bar-button.tsx b/packages/design-system/src/components/ai-command-bar/command-bar-button.tsx
index d00fc6d9b8..69afd0e5a6 100644
--- a/packages/design-system/src/components/ai-command-bar/command-bar-button.tsx
+++ b/packages/design-system/src/components/ai-command-bar/command-bar-button.tsx
@@ -6,7 +6,7 @@ type CommandButtonProps = ComponentProps<typeof Button>;
const RoundedButton = styled(Button, {
borderRadius: theme.borderRadius["pill"],
- width: "min-content",
+ aspectRatio: "1",
});
export const CommandBarButton = forwardRef(