0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

cards update

This commit is contained in:
Mark Otto 2015-05-29 13:09:54 -07:00
parent 71bcf0dd0b
commit 8e6df4325e

View File

@ -193,13 +193,13 @@ $card-cap-bg: #f5f5f5;
.card-deck { .card-deck {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
margin-right: -.75rem; margin-right: -.625rem;
margin-left: -.75rem; margin-left: -.625rem;
.card { .card {
flex: 1 0 0; flex: 1 0 0;
margin-left: .75rem; margin-left: .625rem;
margin-right: .75rem; margin-right: .625rem;
} }
} }
} @else { } @else {
@ -210,8 +210,8 @@ $card-cap-bg: #f5f5f5;
.card { .card {
display: table-cell; display: table-cell;
float: none; width: 1%;
max-width: none; vertical-align: top;
} }
} }
.card-deck-wrapper { .card-deck-wrapper {
@ -285,7 +285,7 @@ $card-cap-bg: #f5f5f5;
.card-columns { .card-columns {
column-count: 3; column-count: 3;
column-gap: 1rem; column-gap: 1.25rem;
.card { .card {
display: inline-block; display: inline-block;