From: Pete Hopkins Date: Thu, 26 Jan 2012 22:32:44 +0000 (-0500) Subject: Fixes up internal and external spacing for IE7 buttons X-Git-Tag: v2.0.0~6^2~126^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=841e386daf01e06f2eba00725545f3e3315334b3;p=thirdparty%2Fbootstrap.git Fixes up internal and external spacing for IE7 buttons --- diff --git a/less/buttons.less b/less/buttons.less index d7f5337832..f18cf9d955 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -67,6 +67,13 @@ // Button Base display: inline-block; padding: 4px 10px 4px; + *padding: 2px 10px; + // IE7 likes to collapse the whitespace before the button, so bring it back... + *margin-left: 4px; + &:first-child { + // ...but not before the first button + *margin-left: 0; + } font-size: @baseFontSize; line-height: @baseLineHeight; color: @grayDark;