Skip to content

Commit

Permalink
Merge pull request #2229 from XiaoMi/hotfix/card-style-pollute
Browse files Browse the repository at this point in the history
fix(card): 修复子卡片样式污染问题
  • Loading branch information
solarjoker authored Sep 9, 2022
2 parents 2dca325 + 5de0f7b commit 2950197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/card/src/styles/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $prefix: '#{$component-prefix}-card' !default;
overflow: hidden;

&#{&}--no-header {
.#{$prefix}__body {
> .#{$prefix}__body {
padding-top: use-spacing(10);
}
}
Expand Down

0 comments on commit 2950197

Please sign in to comment.