aboutsummaryrefslogtreecommitdiff
path: root/scss/_card.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-05-11 21:18:35 -0700
committerMark Otto <[email protected]>2016-05-11 21:18:35 -0700
commitde91c5e0be65fe3f9063305e583cc66cd02ec169 (patch)
tree6a3e348a3b7717d86e50b6cf173f462bdb6c796e /scss/_card.scss
parent5ff8d0f66ea818e6f95ce421f17f6ea0ca41e81d (diff)
downloadbootstrap-de91c5e0be65fe3f9063305e583cc66cd02ec169.tar.xz
bootstrap-de91c5e0be65fe3f9063305e583cc66cd02ec169.zip
fixes #19650: improve non-flexbox card deck behavior so columns are always the same width
Diffstat (limited to 'scss/_card.scss')
-rw-r--r--scss/_card.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index fdc5998de..fd0280a9e 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -214,12 +214,12 @@
$space-between-cards: (2 * $card-deck-margin);
.card-deck {
display: table;
+ width: 100%;
table-layout: fixed;
border-spacing: $space-between-cards 0;
.card {
display: table-cell;
- width: 1%;
vertical-align: top;
}
}