Skip to content

Commit 64b8abb

Browse files
authored
fix: fix ai button aspect ratio (#4574)
## Description AI Button in the AI toolbar got into elliptic shape by accident ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
1 parent cfeb75c commit 64b8abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/design-system/src/components/ai-command-bar/command-bar-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type CommandButtonProps = ComponentProps<typeof Button>;
66

77
const RoundedButton = styled(Button, {
88
borderRadius: theme.borderRadius["pill"],
9-
width: "min-content",
9+
aspectRatio: "1",
1010
});
1111

1212
export const CommandBarButton = forwardRef(

0 commit comments

Comments
 (0)