1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 16:44:17 +02:00

Fix #20654 by reverting #20447 (#20665)

Cards must be inline-block in columns, otherwise they can get split across columns
This commit is contained in:
Mark Otto
2016-09-07 20:38:11 -07:00
committed by GitHub
parent 0bd0e3e7d8
commit 5713077ba5

View File

@@ -314,6 +314,7 @@
column-gap: $card-columns-sm-up-column-gap;
.card {
display: inline-block; // Don't let them vertically span multiple columns
width: 100%; // Don't let them exceed the column width
}
}