0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-06 04:08:22 +01:00

fix inline checks

This commit is contained in:
Mark Otto 2016-12-26 16:11:50 -08:00 committed by Mark Otto
parent 4ba5bfb7cb
commit 8721ff8d6b

View File

@ -360,6 +360,8 @@ select.form-control-lg {
} }
.form-check-input { .form-check-input {
position: relative; position: relative;
margin-top: 0;
margin-right: $form-check-input-margin-x;
margin-left: 0; margin-left: 0;
} }
@ -373,7 +375,7 @@ select.form-control-lg {
.custom-control-indicator { .custom-control-indicator {
position: static; position: static;
display: inline-block; display: inline-block;
margin-right: .25rem; // Flexbox alignment means we lose our HTML space here, so we compensate. margin-right: $form-check-input-margin-x; // Flexbox alignment means we lose our HTML space here, so we compensate.
vertical-align: text-bottom; vertical-align: text-bottom;
} }