From 75edab51ca6ebccce7596cf8e1cf4cdedd0ffa12 Mon Sep 17 00:00:00 2001 From: Yukiniro Date: Fri, 25 Nov 2022 08:04:23 +0800 Subject: [PATCH] fix: The card body's border-radius will be invalid when the bodyStyle has backgroundColor attribute #38912 --- 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(), },