]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
don't set horizontal padding on .form-control-label /cc #18130 #17498
authorMark Otto <markdotto@gmail.com>
Tue, 9 Feb 2016 08:34:41 +0000 (00:34 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 9 Feb 2016 08:34:41 +0000 (00:34 -0800)
scss/_forms.scss

index 729ca764fd42dc92c52fb5432ad15b61e31a11d7..48e2dea47b0b9264627ec447d43288e009b105db 100644 (file)
@@ -76,7 +76,8 @@ select.form-control {
 // For use with horizontal and inline forms, when you need the label text to
 // align with the form controls.
 .form-control-label {
-  padding: $input-padding-y $input-padding-x;
+  padding-top: $input-padding-y;
+  padding-bottom: $input-padding-y;
   margin-bottom: 0; // Override the `<label>` default
 }