From 77c9420fdf41cf0d7def8b992d5952a08f87e07d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 4 Sep 2024 10:25:25 +0200 Subject: [PATCH] Make RadioGroup space be evenly split among all radios --- src/components/input/RadioGroup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/RadioGroup.tsx b/src/components/input/RadioGroup.tsx index 01e60cb0..b9347fb4 100644 --- a/src/components/input/RadioGroup.tsx +++ b/src/components/input/RadioGroup.tsx @@ -42,7 +42,7 @@ function Radio({ 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,