From e27b1355b58331eeb24915bee3e1c9dde4977f17 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 28 Aug 2012 10:12:04 -0700 Subject: fixes #4771: widen .form-horizontal labels and .dl-horizontal terms given larger font-size of 2.1.0 --- less/forms.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index 2864bff0d..17fbaf857 100644 --- a/less/forms.less +++ b/less/forms.less @@ -615,7 +615,7 @@ legend + .control-group { // Float the labels left .control-label { float: left; - width: 140px; + width: @horizontalComponentOffset - 20; padding-top: 5px; text-align: right; } @@ -625,10 +625,10 @@ legend + .control-group { // don't inherit the margin of the parent, in this case .controls *display: inline-block; *padding-left: 20px; - margin-left: 160px; + margin-left: @horizontalComponentOffset; *margin-left: 0; &:first-child { - *padding-left: 160px; + *padding-left: @horizontalComponentOffset; } } // Remove bottom margin on block level help text since that's accounted for on .control-group @@ -645,6 +645,6 @@ legend + .control-group { } // Move over buttons in .form-actions to align with .controls .form-actions { - padding-left: 160px; + padding-left: @horizontalComponentOffset; } } -- cgit v1.2.3