From 49e1efaafc302eb0cfafc69a057fabae9b002219 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Tue, 5 Sep 2023 18:51:51 +0800 Subject: [PATCH] fix: fix date-picker footer style (#44642) * fix: fix date-picker style * Update index.ts Signed-off-by: lijianan <574980606@qq.com> --------- Signed-off-by: lijianan <574980606@qq.com> --- components/date-picker/style/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/date-picker/style/index.ts b/components/date-picker/style/index.ts index 62ef3f039d..1a79222045 100644 --- a/components/date-picker/style/index.ts +++ b/components/date-picker/style/index.ts @@ -625,7 +625,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => { textAlign: 'center', '&-extra': { - padding: `0 ${paddingSM}`, + padding: `0 ${paddingSM}px`, lineHeight: `${pickerTextHeight - 2 * lineWidth}px`, textAlign: 'start',