diff --git a/packages/component/src/stories/button.stories.tsx b/packages/component/src/stories/button.stories.tsx index b6b636be92..c19310dbca 100644 --- a/packages/component/src/stories/button.stories.tsx +++ b/packages/component/src/stories/button.stories.tsx @@ -94,11 +94,18 @@ Dropdown.args = { export const RadioGroup: StoryFn = ({ ...props }) => { return ( - - All - Page - Edgeless - + <> + + All + Page + Edgeless + + + Long long text and some more + Lorem ipsum dolor sit amet + Long long text + + ); }; RadioGroup.args = { diff --git a/packages/component/src/ui/button/styles.css.ts b/packages/component/src/ui/button/styles.css.ts index 43c659b02b..e779d13e96 100644 --- a/packages/component/src/ui/button/styles.css.ts +++ b/packages/component/src/ui/button/styles.css.ts @@ -58,7 +58,7 @@ export const radioButton = style({ display: 'flex', justifyContent: 'center', alignItems: 'center', - width: '75px', + padding: '0 30px', height: '24px', borderRadius: '8px', filter: 'drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1))',