From 094f58adbb1e8206252df5febb07e00fe892853a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=91=BE=F0=9D=92=96=F0=9D=92=99=F0=9D=92=89?= Date: Fri, 21 Mar 2025 12:28:22 +0800 Subject: [PATCH] fix css lint --- components/date-picker/style/panel.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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: '""', }, },