0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add defensive CSS to handle form check input in fleboxes (#38955)

Co-authored-by: louismaxime.piton <louismaxime.piton@orange.com>
This commit is contained in:
Mahmut YILDIRIM 2023-09-13 09:45:40 +03:00 committed by GitHub
parent 86672f4222
commit bb10c996d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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