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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Overflow issue with AI Command Bar prompt outline (#2464)
Ivan Starkov388ec98e1b59
diff --git a/apps/builder/app/builder/features/ai/ai-command-bar.tsx b/apps/builder/app/builder/features/ai/ai-command-bar.tsxindex 679d455335..1163ebb2cf 100644--- a/apps/builder/app/builder/features/ai/ai-command-bar.tsx+++ b/apps/builder/app/builder/features/ai/ai-command-bar.tsx@@ -349,8 +349,10 @@ const CommandBarContent = (props: { prompts: string[] }) => {Previous prompts</Text><div />- <ScrollArea css={{ maxHeight: theme.spacing[29] }}>- <Grid gap={2}>++ {/* negative then positive margin is used to preserve focus outline on command prompts */}+ <ScrollArea css={{ maxHeight: theme.spacing[29], margin: -4 }}>+ <Grid gap={2} css={{ margin: 4 }}>{props.prompts.map((prompt, index) => (<CommandBarContentPrompt key={index}>{prompt}