mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-25 16:50:23 +00:00
Fix Chrome's rendering of .card-columns
Uses orphans/widows trick from @fran-worley at https://github.com/twbs/bootstrap/issues/20925#issuecomment-333492739. Fixes #20925.
This commit is contained in:
parent
b72bd051ab
commit
474698f41b
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue