aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-09-07 20:38:11 -0700
committerGitHub <[email protected]>2016-09-07 20:38:11 -0700
commit5713077ba5dd47fbca00d8da05f1e19c7475f29e (patch)
treef2d34a4235ba9374af2c5b49dcb21d9cb9d9bd07
parent0bd0e3e7d85de3cb66ce8fc4de6152d2c3df9b65 (diff)
downloadbootstrap-5713077ba5dd47fbca00d8da05f1e19c7475f29e.tar.xz
bootstrap-5713077ba5dd47fbca00d8da05f1e19c7475f29e.zip
Fix #20654 by reverting #20447 (#20665)
Cards must be inline-block in columns, otherwise they can get split across columns
-rw-r--r--scss/_card.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 6fa77e61e..73b3b0e82 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -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
}
}