From bbe5e0b0a6a1a9e39ea3f84e34808d119411f92c Mon Sep 17 00:00:00 2001 From: wuyiping0628 <1106773985@qq.com> Date: Mon, 10 Feb 2025 19:43:26 -0800 Subject: [PATCH] fix(radio): [radio] resolve the issue of text wrapping not being centered in radio components --- packages/vue/src/radio/src/token.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue/src/radio/src/token.ts b/packages/vue/src/radio/src/token.ts index 1000471f55..18c5e39181 100644 --- a/packages/vue/src/radio/src/token.ts +++ b/packages/vue/src/radio/src/token.ts @@ -28,7 +28,7 @@ export const classes = { 'mobile-icon-radio-disabled': '[&_path:nth-of-type(2)]:fill-color-icon-disabled [&_path:nth-of-type(1)]:fill-color-bg-3 cursor-not-allowed', 'radio-input': 'absolute left-0 right-0 top-0 bottom-0 w-0 h-0 -z-10 opacity-0', - 'radio-text-common': 'sm:h-4 text-center text-color-text-primary align-middle text-sm', + 'radio-text-common': 'sm:h-4 text-color-text-primary align-middle text-sm', 'radio-text-size-common': 'sm:text-xs', 'radio-text-size-medium': 'sm:text-sm', 'radio-hover': 'sm:[&_path:nth-of-type(1)]:hover:fill-color-brand-hover',