Skip to content

Commit affe7f1

Browse files
committed
Make RadioGroup space be evenly split among all radios
1 parent c3029c0 commit affe7f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/RadioGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function Radio<T extends RadioValue>({
4242
aria-checked={isSelected}
4343
aria-disabled={disabled}
4444
className={classnames(
45-
'focus-visible-ring rounded-lg px-3 py-2 grow group',
45+
'focus-visible-ring rounded-lg px-3 py-2 flex-1 group',
4646
{
4747
'bg-grey-3/50': isSelected,
4848
'hover:bg-grey-3/25': !isSelected && !disabled,

0 commit comments

Comments
 (0)