1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-04 12:47:35 +02:00

Fixes off-by-1px between checkbox and form label (all browsers)

This commit is contained in:
Pete Hopkins
2012-01-26 13:56:18 -05:00
parent b7f22e27ec
commit c13de3db60

View File

@@ -162,7 +162,7 @@ input[type=hidden] {
// Move the options list down to align with labels // Move the options list down to align with labels
.controls > .radio:first-child, .controls > .radio:first-child,
.controls > .checkbox: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 // Radios and checkboxes on same line