Skip to content

Commit

Permalink
fix(Card): limit show/hide divider selector
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyunhe authored and 潕量 committed Sep 6, 2022
1 parent 64777e1 commit cd8e782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/card/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@
}

&-show-divider {
#{$card-prefix}-head-main {
> #{$card-prefix}-head > #{$card-prefix}-head-main {
border-bottom: $card-head-bottom-border-width $card-border-style $card-head-bottom-border-color;
}

#{$card-prefix}-body {
> #{$card-prefix}-body {
padding-top: $card-body-show-divider-padding-top;
}
}

&-hide-divider {
#{$card-prefix}-body {
> #{$card-prefix}-body {
padding-top: $card-body-hide-divider-padding-top;
}
}
Expand Down

0 comments on commit cd8e782

Please sign in to comment.