From: Mark Otto Date: Tue, 27 Dec 2016 00:11:50 +0000 (-0800) Subject: fix inline checks X-Git-Tag: v4.0.0-alpha.6~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8721ff8d6bb61fc2a26549e50d7cf972c513915b;p=thirdparty%2Fbootstrap.git fix inline checks --- diff --git a/scss/_forms.scss b/scss/_forms.scss index dc1c66b9b2..9c581feae7 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -360,6 +360,8 @@ select.form-control-lg { } .form-check-input { position: relative; + margin-top: 0; + margin-right: $form-check-input-margin-x; margin-left: 0; } @@ -373,7 +375,7 @@ select.form-control-lg { .custom-control-indicator { position: static; 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; }