Skip to content

Commit

Permalink
fix(forms): change the margin left value between the required symbol …
Browse files Browse the repository at this point in the history
…and the label
  • Loading branch information
julien-deramond committed Apr 1, 2022
1 parent f64b248 commit 263c0d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,7 @@ $form-label-font-style: null !default;
$form-label-font-weight: $font-weight-bold !default;
$form-label-color: null !default;
$form-label-disabled-color: $gray-500 !default; // Boosted mod
$form-label-required-margin-left: .1875rem !default; // Boosted mod
// scss-docs-end form-label-variables

// scss-docs-start form-input-variables
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 @@ -125,7 +125,7 @@
// Boosted mod: required symbol
&:required {
~ .form-check-label::after {
margin-left: $form-label-margin-bottom;
margin-left: $form-label-required-margin-left;
color: $accessible-orange;
content: "*";
}
Expand Down
2 changes: 1 addition & 1 deletion scss/forms/_labels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

.is-required::after {
margin-left: $form-label-margin-bottom;
margin-left: $form-label-required-margin-left;
color: $accessible-orange;
content: "*";
}
Expand Down

0 comments on commit 263c0d5

Please sign in to comment.