Skip to content

Commit

Permalink
Fix Chrome's rendering of .card-columns
Browse files Browse the repository at this point in the history
Uses orphans/widows trick from @fran-worley at #20925 (comment).

Fixes #20925.
  • Loading branch information
mdo committed Apr 1, 2018
1 parent b72bd05 commit 474698f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@
@include media-breakpoint-up(sm) {
column-count: $card-columns-count;
column-gap: $card-columns-gap;
orphans: 1;
widows: 1;

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

0 comments on commit 474698f

Please sign in to comment.