]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes off-by-1px between checkbox and form label (all browsers)
authorPete Hopkins <phopkins@twitter.com>
Thu, 26 Jan 2012 18:56:18 +0000 (13:56 -0500)
committerPete Hopkins <phopkins@twitter.com>
Thu, 26 Jan 2012 21:04:24 +0000 (16:04 -0500)
lib/forms.less

index 744649f9044019a30e3ca0af85e2ade18d867d17..4aec1ec1abbacbc30ee25f7099fd10de19d423a2 100644 (file)
@@ -162,7 +162,7 @@ input[type=hidden] {
 // Move the options list down to align with labels
 .controls > .radio:first-child,
 .controls > .checkbox:first-child {
-  padding-top: 6px; // has to be padding because margin collaspes
+  padding-top: 5px; // has to be padding because margin collaspes
 }
 
 // Radios and checkboxes on same line