mirror of https://github.com/twbs/bootstrap.git
Create a variable for label margin bottom (#25561)
This commit is contained in:
parent
54a43a7247
commit
49954d5e6c
|
|
@ -309,7 +309,7 @@ th {
|
||||||
label {
|
label {
|
||||||
// Allow labels to use `margin` for spacing.
|
// Allow labels to use `margin` for spacing.
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: $label-margin-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the default `border-radius` that macOS Chrome adds.
|
// Remove the default `border-radius` that macOS Chrome adds.
|
||||||
|
|
|
||||||
|
|
@ -383,6 +383,8 @@ $btn-transition: color .15s ease-in-out, background-color .15s ease
|
||||||
|
|
||||||
// Forms
|
// Forms
|
||||||
|
|
||||||
|
$label-margin-bottom: .5rem !default;
|
||||||
|
|
||||||
$input-padding-y: $input-btn-padding-y !default;
|
$input-padding-y: $input-btn-padding-y !default;
|
||||||
$input-padding-x: $input-btn-padding-x !default;
|
$input-padding-x: $input-btn-padding-x !default;
|
||||||
$input-line-height: $input-btn-line-height !default;
|
$input-line-height: $input-btn-line-height !default;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue