]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix inline checks
authorMark Otto <markdotto@gmail.com>
Tue, 27 Dec 2016 00:11:50 +0000 (16:11 -0800)
committerMark Otto <markd.otto@gmail.com>
Tue, 27 Dec 2016 22:17:11 +0000 (14:17 -0800)
scss/_forms.scss

index dc1c66b9b2565084dff4a91430a26089439e9b87..9c581feae7925971c88dd34dd57e192093991393 100644 (file)
@@ -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;
     }