diff --git a/components/card/style/index.ts b/components/card/style/index.ts index bc96d2b592..9a7ae63808 100644 --- a/components/card/style/index.ts +++ b/components/card/style/index.ts @@ -307,7 +307,7 @@ const genCardStyle: GenerateStyle = (token): CSSObject => { [`${componentCls}-body`]: { padding: cardPaddingBase, - borderRadius: ` 0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`, + borderRadius: `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`, ...clearFix(), }, diff --git a/components/date-picker/style/panel.ts b/components/date-picker/style/panel.ts index dd14df393e..fc3188562a 100644 --- a/components/date-picker/style/panel.ts +++ b/components/date-picker/style/panel.ts @@ -562,7 +562,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => { '&::-webkit-scrollbar-thumb': { backgroundColor: token.colorTextTertiary, - borderRadius: 4, + borderRadius: token.borderRadiusSM, }, // For Firefox