From 12be9044f4bdce14769da5eb909faa1e115d6fcd Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 25 Nov 2014 18:00:52 -0800 Subject: fix a bunch of padding and alignment things for forms --- less/_forms.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/_forms.less b/less/_forms.less index b50dbb8ac..ef4bebac2 100644 --- a/less/_forms.less +++ b/less/_forms.less @@ -496,13 +496,13 @@ input[type="checkbox"] { .checkbox-inline { margin-top: 0; margin-bottom: 0; - padding-top: (@padding-base-vertical + 1); // Default padding plus a border + padding-top: (@padding-base-vertical + .1); // Default padding plus a border } // Account for padding we're adding to ensure the alignment and of help text // and other content below items .radio, .checkbox { - min-height: (@line-height-computed + (@padding-base-vertical + 1)); + min-height: (@line-height-computed + (@padding-base-vertical + .1)); } // Make form groups behave like rows @@ -516,7 +516,7 @@ input[type="checkbox"] { .control-label { text-align: right; margin-bottom: 0; - padding-top: (@padding-base-vertical + 1); // Default padding plus a border + padding-top: (@padding-base-vertical + .1); // Default padding plus a border } }); @@ -535,14 +535,14 @@ input[type="checkbox"] { .form-group-lg { @media (min-width: @screen-sm-min) { .control-label { - padding-top: ((@padding-lg-vertical * @line-height-lg) + 1); + padding-top: @padding-lg-vertical; } } } .form-group-sm { @media (min-width: @screen-sm-min) { .control-label { - padding-top: (@padding-sm-vertical + 1); + padding-top: (@padding-sm-vertical + .1); } } } -- cgit v1.2.3