Skip to content

Commit

Permalink
Merge pull request #18851 from ju1ius/patch-1
Browse files Browse the repository at this point in the history
Don't clearfix if flexbox is enabled. Fixes #18849
  • Loading branch information
mdo authored Oct 28, 2016
2 parents d23163a + bd62b18 commit 2df2efc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
}

.card-block {
@include clearfix;
@if (not $enable-flex) {
@include clearfix;
}
padding: $card-spacer-x;
}

Expand Down Expand Up @@ -68,7 +70,9 @@
//

.card-header {
@include clearfix;
@if (not $enable-flex) {
@include clearfix;
}
padding: $card-spacer-y $card-spacer-x;
margin-bottom: 0; // Removes the default margin-bottom of <hN>
background-color: $card-cap-bg;
Expand All @@ -80,7 +84,9 @@
}

.card-footer {
@include clearfix;
@if (not $enable-flex) {
@include clearfix;
}
padding: $card-spacer-y $card-spacer-x;
background-color: $card-cap-bg;
border-top: $card-border-width solid $card-border-color;
Expand Down

0 comments on commit 2df2efc

Please sign in to comment.