From 12cb0822e856c46805c7d25652e1d273ce591fc1 Mon Sep 17 00:00:00 2001 From: Jeff Adams Date: Mon, 10 Oct 2011 14:32:59 -0500 Subject: adjust width calculations for formColumns to fix issue #404 --- lib/forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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, -- cgit v1.2.3 From ea50e8aeeed6616a61a7e44d28fe60ced327be0c Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 29 Oct 2011 18:49:35 -0700 Subject: add active class to css for buttons, write new spec for button, "use strict" --- lib/patterns.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/patterns.less b/lib/patterns.less index 5f4192d89..307bfe4e6 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -573,7 +573,8 @@ footer { .transition(.1s linear all); // Active and Disabled states - &:active { + &.active, + :active { @shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.05); .box-shadow(@shadow); } -- cgit v1.2.3