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`]: {