mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 00:24:03 +02: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:
@@ -286,6 +286,7 @@
|
|||||||
.card {
|
.card {
|
||||||
display: inline-block; // Don't let them vertically span multiple columns
|
display: inline-block; // Don't let them vertically span multiple columns
|
||||||
width: 100%; // Don't let them exceed the column width
|
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-count: 3 !default;
|
||||||
$card-columns-gap: 1.25rem !default;
|
$card-columns-gap: 1.25rem !default;
|
||||||
|
$card-columns-margin: $card-spacer-y !default;
|
||||||
|
|
||||||
|
|
||||||
// 22. Tooltips
|
// 22. Tooltips
|
||||||
|
Reference in New Issue
Block a user