1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

add card column margin variable instead of relying on a default card margin

this assumes no margin on the .card to start (which will follow in a later commit)
This commit is contained in:
Mark Otto 2016-12-22 16:39:11 -08:00
parent 246151aa12
commit cd2584870e
2 changed files with 2 additions and 0 deletions

View file

@ -286,6 +286,7 @@
.card {
display: inline-block; // Don't let them vertically span multiple columns
width: 100%; // Don't let them exceed the column width
margin-bottom: $card-columns-margin;
}
}
}

View file

@ -709,6 +709,7 @@ $card-deck-margin: .625rem !default;
$card-columns-count: 3 !default;
$card-columns-gap: 1.25rem !default;
$card-columns-margin: $card-spacer-y !default;
// 22. Tooltips