diff --git a/components/date-picker/style/panel.ts b/components/date-picker/style/panel.ts index 005281d0f6..05e2783b8f 100644 --- a/components/date-picker/style/panel.ts +++ b/components/date-picker/style/panel.ts @@ -321,8 +321,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => { width: pickerControlIconSize, height: pickerControlIconSize, border: `0 solid currentcolor`, - borderBlockWidth: `${unit(pickerControlIconBorderWidth)} 0`, - borderInlineWidth: `${unit(pickerControlIconBorderWidth)} 0`, + borderWidth: unit(pickerControlIconBorderWidth), content: '""', }, }, @@ -337,8 +336,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => { width: pickerControlIconSize, height: pickerControlIconSize, border: '0 solid currentcolor', - borderBlockWidth: `${unit(pickerControlIconBorderWidth)} 0`, - borderInlineWidth: `${unit(pickerControlIconBorderWidth)} 0`, + borderWidth: unit(pickerControlIconBorderWidth), content: '""', }, },