Skip to content

Commit

Permalink
fix(#1072): vertically align labels for switches (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Feb 2, 2022
1 parent 226e6b2 commit 4548845
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@ $form-check-input-width: 1em !default;
$form-check-min-height: $font-size-base * $input-btn-line-height !default;
$form-check-padding-start: $form-check-input-width + .5em !default;
$form-check-margin-bottom: .125rem !default;
$form-check-label-padding-top: .4375rem !default; // Boosted mod
$form-check-label-color: null !default;
$form-check-label-cursor: null !default;
$form-check-transition: null !default;
Expand Down
2 changes: 1 addition & 1 deletion scss/forms/_form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
}

.form-check-label {
padding-top: map-get($spacers, 1);
padding-top: $form-check-label-padding-top;
}
// End mod
}
Expand Down

0 comments on commit 4548845

Please sign in to comment.