]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix #20654 by reverting #20447 (#20665)
authorMark Otto <markd.otto@gmail.com>
Thu, 8 Sep 2016 03:38:11 +0000 (20:38 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2016 03:38:11 +0000 (20:38 -0700)
Cards must be inline-block in columns, otherwise they can get split across columns

scss/_card.scss

index 6fa77e61e805d12d42622dccc52a8af1738de53f..73b3b0e82010ff10a49f3c5ffe94980df84510cb 100644 (file)
     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
     }
   }