From 806cf0ee35b42761c7e9df1b56e4d1d5a72658f0 Mon Sep 17 00:00:00 2001 From: dengfuping Date: Mon, 11 Nov 2024 10:36:35 +0800 Subject: [PATCH] improve(design): Card body padding-bottom without divider --- packages/design/src/card/style/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/design/src/card/style/index.ts b/packages/design/src/card/style/index.ts index a03b4fba6..e3aaa11d1 100644 --- a/packages/design/src/card/style/index.ts +++ b/packages/design/src/card/style/index.ts @@ -55,12 +55,12 @@ export const genCardStyle: GenerateStyle = (token: CardToken): CSSObj }, [`${componentCls}${componentCls}-no-divider:not(${componentCls}-contain-tabs)`]: { [`${componentCls}-body`]: { - padding: `0 ${paddingLG}px ${padding}px ${paddingLG}px`, + padding: `0 ${paddingLG}px ${paddingLG}px ${paddingLG}px`, }, }, [`${componentCls}-small${componentCls}-no-divider:not(${componentCls}-contain-tabs)`]: { [`${componentCls}-body`]: { - padding: `0 ${paddingSM}px 12px ${paddingSM}px`, + padding: `0 ${paddingSM}px ${paddingSM}px ${paddingSM}px`, }, }, [`${componentCls}${componentCls}-contain-tabs`]: {