0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Create a variable for label margin bottom (#25561)

This commit is contained in:
Andres Galante 2018-02-10 21:21:42 -03:00 committed by XhmikosR
parent 54a43a7247
commit 49954d5e6c
2 changed files with 3 additions and 1 deletions

View File

@ -309,7 +309,7 @@ th {
label {
// Allow labels to use `margin` for spacing.
display: inline-block;
margin-bottom: .5rem;
margin-bottom: $label-margin-bottom;
}
// Remove the default `border-radius` that macOS Chrome adds.

View File

@ -383,6 +383,8 @@ $btn-transition: color .15s ease-in-out, background-color .15s ease
// Forms
$label-margin-bottom: .5rem !default;
$input-padding-y: $input-btn-padding-y !default;
$input-padding-x: $input-btn-padding-x !default;
$input-line-height: $input-btn-line-height !default;