mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Create a variable for label margin bottom (#25561)
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user