aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Hopkins <[email protected]>2012-01-26 17:32:44 -0500
committerPete Hopkins <[email protected]>2012-01-27 12:08:56 -0500
commit841e386daf01e06f2eba00725545f3e3315334b3 (patch)
tree0cbf68c9104b18ea4beb2bfc59b239d2bc0f9bba
parent6075b5dee6c892b991e8a00de70942f28f9a1c14 (diff)
downloadbootstrap-841e386daf01e06f2eba00725545f3e3315334b3.tar.xz
bootstrap-841e386daf01e06f2eba00725545f3e3315334b3.zip
Fixes up internal and external spacing for IE7 buttons
-rw-r--r--less/buttons.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/less/buttons.less b/less/buttons.less
index d7f533783..f18cf9d95 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;