mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
fix(site): center-align radio option labels in ImageRadioGroup (#858)
This commit is contained in:
@@ -63,7 +63,7 @@ export default function ImageRadioGroup<T extends string = string>({
|
||||
<Radio.Indicator className="sr-only" />
|
||||
<div className="flex items-center justify-center w-full h-full">{option.image}</div>
|
||||
</div>
|
||||
<span className={clsx('text-p3', isSelected && 'font-bold')}>{option.label}</span>
|
||||
<span className={clsx('text-center text-p3', isSelected && 'font-bold')}>{option.label}</span>
|
||||
</Radio.Root>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user