diff options
| author | Andres Galante <[email protected]> | 2018-02-10 21:21:42 -0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-02-11 02:21:42 +0200 |
| commit | 49954d5e6c35097511092d3356aef124bc1a2dfd (patch) | |
| tree | d1d36ba26bc570ae58ebadf3dcbeff8808a4a3ad | |
| parent | 54a43a72479ccfbf7f5cd2568ca6d56ea7be5531 (diff) | |
| download | bootstrap-49954d5e6c35097511092d3356aef124bc1a2dfd.tar.xz bootstrap-49954d5e6c35097511092d3356aef124bc1a2dfd.zip | |
Create a variable for label margin bottom (#25561)
| -rw-r--r-- | scss/_reboot.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index c79fa4740..3e00b7fab 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -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. diff --git a/scss/_variables.scss b/scss/_variables.scss index 9825b0808..6cfe01cdc 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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; |
