Skip to content

Commit

Permalink
Add defensive CSS to handle form check input in fleboxes (#38955)
Browse files Browse the repository at this point in the history
Co-authored-by: louismaxime.piton <louismaxime.piton@orange.com>
  • Loading branch information
SDClowen and louismaximepiton authored Sep 13, 2023
1 parent 86672f4 commit bb10c99
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 bb10c99

Please sign in to comment.