Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_card.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 01a5733d6a..23a5e07c72 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -13,7 +13,9 @@
}
.card-block {
- @include clearfix;
+ @if (not $enable-flex) {
+ @include clearfix;
+ }
padding: $card-spacer-x;
}
@@ -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;
@@ -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;