aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-26 15:39:37 -0800
committerMark Otto <[email protected]>2012-01-26 15:39:37 -0800
commitd8e1001836f869436df2de2905411b2236c8cbad (patch)
tree67c34478df7dc088fafb21750e162dacddaf5889 /lib/forms.less
parent2d67c3408465f44be7336abc6a00af870d2c18f8 (diff)
downloadbootstrap-d8e1001836f869436df2de2905411b2236c8cbad.tar.xz
bootstrap-d8e1001836f869436df2de2905411b2236c8cbad.zip
fix legend margin collapse
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/forms.less b/lib/forms.less
index 4ee636683..9e2e1dc1b 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -28,7 +28,6 @@ legend {
color: @grayDark;
border: 0;
border-bottom: 1px solid #eee;
- -webkit-margin-collapse: separate;
}
// Set font for forms
@@ -490,7 +489,8 @@ select:focus:required:invalid {
.form-horizontal {
// Legend collapses margin, so we're relegated to padding
legend + .control-group {
- padding-top: @baseLineHeight * 1.5;
+ margin-top: @baseLineHeight;
+ -webkit-margin-top-collapse: separate;
}
// Increase spacing between groups
.control-group {