0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #18655 from twbs/fix-18583

Apply clearfix to .card-{header,footer,block}
/fyi @mdo
This commit is contained in:
Chris Rebert 2015-12-23 17:32:51 -07:00
commit b6fcabf892

View File

@ -12,6 +12,7 @@
} }
.card-block { .card-block {
@include clearfix;
padding: $card-spacer-x; padding: $card-spacer-x;
} }
@ -68,6 +69,7 @@
// //
.card-header { .card-header {
@include clearfix;
padding: $card-spacer-y $card-spacer-x; padding: $card-spacer-y $card-spacer-x;
background-color: $card-cap-bg; background-color: $card-cap-bg;
border-bottom: $card-border-width solid $card-border-color; border-bottom: $card-border-width solid $card-border-color;
@ -78,6 +80,7 @@
} }
.card-footer { .card-footer {
@include clearfix;
padding: $card-spacer-y $card-spacer-x; padding: $card-spacer-y $card-spacer-x;
background-color: $card-cap-bg; background-color: $card-cap-bg;
border-top: $card-border-width solid $card-border-color; border-top: $card-border-width solid $card-border-color;