mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01: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:
parent
246151aa12
commit
cd2584870e
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user