mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Merge pull request #18851 from ju1ius/patch-1
Don't clearfix if flexbox is enabled. Fixes #18849
This commit is contained in:
commit
2df2efc1fb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user