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:
commit
b6fcabf892
@ -12,6 +12,7 @@
|
||||
}
|
||||
|
||||
.card-block {
|
||||
@include clearfix;
|
||||
padding: $card-spacer-x;
|
||||
}
|
||||
|
||||
@ -68,6 +69,7 @@
|
||||
//
|
||||
|
||||
.card-header {
|
||||
@include clearfix;
|
||||
padding: $card-spacer-y $card-spacer-x;
|
||||
background-color: $card-cap-bg;
|
||||
border-bottom: $card-border-width solid $card-border-color;
|
||||
@ -78,6 +80,7 @@
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
@include clearfix;
|
||||
padding: $card-spacer-y $card-spacer-x;
|
||||
background-color: $card-cap-bg;
|
||||
border-top: $card-border-width solid $card-border-color;
|
||||
|
Loading…
Reference in New Issue
Block a user