aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorJeff Adams <[email protected]>2011-10-10 14:32:59 -0500
committerJeff Adams <[email protected]>2011-10-10 14:32:59 -0500
commit12cb0822e856c46805c7d25652e1d273ce591fc1 (patch)
treebe9cb79be998306207ff0bf29570d3b160284c72 /lib/forms.less
parentc85e93cd9045ee00c29130bcb6d75d78d033ef5d (diff)
downloadbootstrap-12cb0822e856c46805c7d25652e1d273ce591fc1.tar.xz
bootstrap-12cb0822e856c46805c7d25652e1d273ce591fc1.zip
adjust width calculations for formColumns to fix issue #404
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less2
1 files changed, 1 insertions, 1 deletions
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,