diff options
| author | Mark Otto <[email protected]> | 2017-04-08 20:58:33 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-04-08 21:26:25 -0700 |
| commit | 7f075bfb2333db7f67f3b8a0fec4c66d4040576c (patch) | |
| tree | bf085325d1891b45adf6cd92d10c2480a50adeb8 /scss/_card.scss | |
| parent | 09f98fbd0e8348c25f2cbf85b92a09bb97197bc8 (diff) | |
| download | bootstrap-7f075bfb2333db7f67f3b8a0fec4c66d4040576c.tar.xz bootstrap-7f075bfb2333db7f67f3b8a0fec4c66d4040576c.zip | |
fixes #22135
Diffstat (limited to 'scss/_card.scss')
| -rw-r--r-- | scss/_card.scss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index 2c74c0c97..67d4ebf1f 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -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; } } } |
