Skip to content

Commit

Permalink
Make RadioGroup space be evenly split among all radios
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Sep 4, 2024
1 parent c3029c0 commit 77c9420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/input/RadioGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Radio<T extends RadioValue>({
aria-checked={isSelected}
aria-disabled={disabled}
className={classnames(
'focus-visible-ring rounded-lg px-3 py-2 grow group',
'focus-visible-ring rounded-lg px-3 py-2 flex-1 group',
{
'bg-grey-3/50': isSelected,
'hover:bg-grey-3/25': !isSelected && !disabled,
Expand Down

0 comments on commit 77c9420

Please sign in to comment.