aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorju1ius <[email protected]>2016-01-11 22:36:30 +0100
committerju1ius <[email protected]>2016-01-11 22:36:30 +0100
commitbd62b185f6de341baeb9eee228dc602f4d613340 (patch)
treeee9e9ff01cc9f7d82555c4f56eda282322dc1a46
parent4fae7cbc88f5bfb77573ea877d4f2d65b0b12506 (diff)
downloadbootstrap-bd62b185f6de341baeb9eee228dc602f4d613340.tar.xz
bootstrap-bd62b185f6de341baeb9eee228dc602f4d613340.zip
Don't clearfix if flexbox is enabled. Fixes #18849
-rw-r--r--scss/_card.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 3982f6e85..646a28158 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;