mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Merge pull request #18464 from twbs/btn-block-spacing-y
Introduce $btn-block-spacing-y variable
This commit is contained in:
commit
edbdf21de5
@ -160,7 +160,7 @@ fieldset[disabled] a.btn {
|
||||
|
||||
// Vertically space out multiple block buttons
|
||||
.btn-block + .btn-block {
|
||||
margin-top: 5px;
|
||||
margin-top: $btn-block-spacing-y;
|
||||
}
|
||||
|
||||
// Specificity overrides
|
||||
|
@ -275,6 +275,8 @@ $btn-padding-y-sm: .25rem !default;
|
||||
$btn-padding-x-lg: 1.25rem !default;
|
||||
$btn-padding-y-lg: .75rem !default;
|
||||
|
||||
$btn-block-spacing-y: 5px !default;
|
||||
|
||||
// Allows for customizing button radius independently from global border radius
|
||||
$btn-border-radius: $border-radius !default;
|
||||
$btn-border-radius-lg: $border-radius-lg !default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user