From d8e1001836f869436df2de2905411b2236c8cbad Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 26 Jan 2012 15:39:37 -0800 Subject: fix legend margin collapse --- lib/forms.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/forms.less') 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 { -- cgit v1.2.3