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',