Skip to content

Commit 474698f

Browse files
committed
Fix Chrome's rendering of .card-columns
Uses orphans/widows trick from @fran-worley at twbs#20925 (comment). Fixes twbs#20925.
1 parent b72bd05 commit 474698f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scss/_card.scss

+2
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@
261261
@include media-breakpoint-up(sm) {
262262
column-count: $card-columns-count;
263263
column-gap: $card-columns-gap;
264+
orphans: 1;
265+
widows: 1;
264266

265267
.card {
266268
display: inline-block; // Don't let them vertically span multiple columns

0 commit comments

Comments
 (0)