mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
fixes #19650: improve non-flexbox card deck behavior so columns are always the same width
This commit is contained in:
@@ -214,12 +214,12 @@
|
|||||||
$space-between-cards: (2 * $card-deck-margin);
|
$space-between-cards: (2 * $card-deck-margin);
|
||||||
.card-deck {
|
.card-deck {
|
||||||
display: table;
|
display: table;
|
||||||
|
width: 100%;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
border-spacing: $space-between-cards 0;
|
border-spacing: $space-between-cards 0;
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
width: 1%;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user