]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge pull request #18851 from ju1ius/patch-1
authorMark Otto <markd.otto@gmail.com>
Fri, 28 Oct 2016 04:58:14 +0000 (21:58 -0700)
committerGitHub <noreply@github.com>
Fri, 28 Oct 2016 04:58:14 +0000 (21:58 -0700)
Don't clearfix if flexbox is enabled. Fixes #18849

1  2 
scss/_card.scss

diff --cc scss/_card.scss
index 01a5733d6af3e9332d141cc71d626c04b8f1aa71,646a2815826839553748ed879304b17da8d1dcb8..23a5e07c7225d91c1810eaabeead155337d15d54
  //
  
  .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;
    border-bottom: $card-border-width solid $card-border-color;