From e66fcbd4497aa57f080775af68e1063ee0eed297 Mon Sep 17 00:00:00 2001 From: Zhanghao Date: Fri, 25 Nov 2022 11:53:28 +0800 Subject: [PATCH] fix: The card body's border-radius will be invalid when the bodyStyle has backgroundColor attribute #38912 (#38973) --- components/card/style/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/card/style/index.tsx b/components/card/style/index.tsx index bafb8530c695..4d6ce28b0e0b 100644 --- a/components/card/style/index.tsx +++ b/components/card/style/index.tsx @@ -267,6 +267,7 @@ const genCardStyle: GenerateStyle = (token): CSSObject => { [`${componentCls}-body`]: { padding: cardPaddingBase, + borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px`, ...clearFix(), },