]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update classes for inline form to new checkbox options
authorMark Otto <markdotto@gmail.com>
Mon, 9 May 2016 06:14:48 +0000 (23:14 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 9 May 2016 06:14:48 +0000 (23:14 -0700)
scss/_forms.scss

index 32836182c3630525b18ee4c9b2dd561cccac14f2..24b2a20372679e3ff8c16e4aaeafa0ec8cd96875 100644 (file)
@@ -336,19 +336,16 @@ select.form-control-lg {
 
     // Remove default margin on radios/checkboxes that were used for stacking, and
     // then undo the floating of radios and checkboxes to match.
-    .radio,
-    .checkbox {
+    .form-check {
       display: inline-block;
       margin-top: 0;
       margin-bottom: 0;
       vertical-align: middle;
-
-      label {
-        padding-left: 0;
-      }
     }
-    .radio input[type="radio"],
-    .checkbox input[type="checkbox"] {
+    .form-check-label {
+      padding-left: 0;
+    }
+    .form-check-input {
       position: relative;
       margin-left: 0;
     }