From: ju1ius Date: Mon, 11 Jan 2016 21:36:30 +0000 (+0100) Subject: Don't clearfix if flexbox is enabled. Fixes #18849 X-Git-Tag: v4.0.0-alpha.6~479^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd62b185f6de341baeb9eee228dc602f4d613340;p=thirdparty%2Fbootstrap.git Don't clearfix if flexbox is enabled. Fixes #18849 --- diff --git a/scss/_card.scss b/scss/_card.scss index 3982f6e852..646a281582 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -12,7 +12,9 @@ } .card-block { - @include clearfix; + @if (not $enable-flex) { + @include clearfix; + } padding: $card-spacer-x; } @@ -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; @@ -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;