mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 21:40:48 +00: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:
parent
86672f4222
commit
bb10c996d4
@ -29,6 +29,7 @@
|
|||||||
.form-check-input {
|
.form-check-input {
|
||||||
--#{$prefix}form-check-bg: #{$form-check-input-bg};
|
--#{$prefix}form-check-bg: #{$form-check-input-bg};
|
||||||
|
|
||||||
|
flex-shrink: 0;
|
||||||
width: $form-check-input-width;
|
width: $form-check-input-width;
|
||||||
height: $form-check-input-width;
|
height: $form-check-input-width;
|
||||||
margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
|
margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user