aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-05 10:01:42 -0800
committerMark Otto <[email protected]>2012-01-05 10:01:42 -0800
commit20add59de3f2b69aaa9c9b325dab20b13c75eaa1 (patch)
tree862ec093fda66cf9cbed16ee746d3766e7112539 /lib/forms.less
parentbdc22e71c8cbeddb1dbee9708ab68b4f23abb6f4 (diff)
downloadbootstrap-20add59de3f2b69aaa9c9b325dab20b13c75eaa1.tar.xz
bootstrap-20add59de3f2b69aaa9c9b325dab20b13c75eaa1.zip
breaking out patterns.less even more, removing unnecessary div from checkbox and radio lists--now just labels and inputs
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/forms.less b/lib/forms.less
index ededc772e..0c624fa88 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -391,7 +391,8 @@ textarea[readonly] {
margin-left: 150px;
}
// Move the options list down to align with labels
- .control-list {
+ .controls > .radio:first-child,
+ .controls > .checkbox:first-child {
padding-top: 6px; // has to be padding because margin collaspes
}
// Move over buttons in .form-actions to align with .controls