]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add defensive CSS to handle form check input in fleboxes (#38955)
authorMahmut YILDIRIM <mahmutyildirim@outlook.com.tr>
Wed, 13 Sep 2023 06:45:40 +0000 (09:45 +0300)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 06:45:40 +0000 (08:45 +0200)
Co-authored-by: louismaxime.piton <louismaxime.piton@orange.com>
scss/forms/_form-check.scss

index f8d9b08f8ce705e52de6754bca420c54d5433fdd..d3a8fe60da33c272042241740d8dc04252cb2282 100644 (file)
@@ -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