Skip to content

Commit

Permalink
Don't clearfix if flexbox is enabled. Fixes #18849
Browse files Browse the repository at this point in the history
  • Loading branch information
ju1ius committed Jan 11, 2016
1 parent 4fae7cb commit bd62b18
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 @@ -12,7 +12,9 @@
}

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

Expand Down Expand Up @@ -69,7 +71,9 @@
//

.card-header {
@include clearfix;
@if (not $enable-flex) {
@include clearfix;
}
padding: $card-spacer-y $card-spacer-x;
background-color: $card-cap-bg;
border-bottom: $card-border-width solid $card-border-color;
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 bd62b18

Please sign in to comment.