From b6aae7154e9f527e64ed79f6ff53d1dee9e38386 Mon Sep 17 00:00:00 2001 From: tolerance-go <892728595@qq.com> Date: Tue, 18 Oct 2022 10:38:19 +0800 Subject: [PATCH] chore: Only process first-level child elements --- components/card/card-footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/card/card-footer.tsx b/components/card/card-footer.tsx index 772119e2e..bf9bb0a05 100644 --- a/components/card/card-footer.tsx +++ b/components/card/card-footer.tsx @@ -47,7 +47,7 @@ const CardFooterComponent: React.FC> = margin: ${SCALES.mt(0)} ${SCALES.mr(0)} ${SCALES.mb(0)} ${SCALES.ml(0)}; } - .auto-margin :global(*) { + .auto-margin :global(> *) { margin-top: 0; margin-bottom: 0; margin-right: ${theme.layout.gapQuarter};