From 12cb0822e856c46805c7d25652e1d273ce591fc1 Mon Sep 17 00:00:00 2001 From: Jeff Adams Date: Mon, 10 Oct 2011 14:32:59 -0500 Subject: [PATCH] adjust width calculations for formColumns to fix issue #404 --- bootstrap.css | 2 +- lib/forms.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.css b/bootstrap.css index fc0edcdd9..a778eb808 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Tue Oct 4 21:26:21 PDT 2011 + * Date: Mon Oct 10 14:31:07 CDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). diff --git a/lib/forms.less b/lib/forms.less index 0da4037df..fed2c5608 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -236,7 +236,7 @@ textarea.xxlarge { .formColumns(@columnSpan: 1) { display: inline-block; float: none; - width: ((@gridColumnWidth - 10) * @columnSpan) + ((@gridColumnWidth - 10) * (@columnSpan - 1)); + width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 10; margin-left: 0; } input,