Skip to content

Commit

Permalink
fixes #22135
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Apr 9, 2017
1 parent 09f98fb commit 7f075bf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,18 @@
// Columns
//

@include media-breakpoint-up(sm) {
.card-columns {
.card-columns {
.card {
margin-bottom: $card-columns-margin;
}

@include media-breakpoint-up(sm) {
column-count: $card-columns-count;
column-gap: $card-columns-gap;

.card {
display: inline-block; // Don't let them vertically span multiple columns
width: 100%; // Don't let their width change
margin-bottom: $card-columns-margin;
}
}
}

0 comments on commit 7f075bf

Please sign in to comment.