Skip to content

Commit

Permalink
Add defensive CSS to handle form check input in fleboxes (twbs#38955)
Browse files Browse the repository at this point in the history
Co-authored-by: louismaxime.piton <louismaxime.piton@orange.com>
  • Loading branch information
2 people authored and romankupchak93 committed Jan 5, 2024
1 parent dd786d4 commit d5ee6f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scss/forms/_form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
.form-check-input {
--#{$prefix}form-check-bg: #{$form-check-input-bg};

flex-shrink: 0;
width: $form-check-input-width;
height: $form-check-input-width;
margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
Expand Down

0 comments on commit d5ee6f7

Please sign in to comment.