0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fixes up internal and external spacing for IE7 buttons

This commit is contained in:
Pete Hopkins 2012-01-26 17:32:44 -05:00
parent 6075b5dee6
commit 841e386daf

View File

@ -67,6 +67,13 @@
// Button Base // Button Base
display: inline-block; display: inline-block;
padding: 4px 10px 4px; 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; font-size: @baseFontSize;
line-height: @baseLineHeight; line-height: @baseLineHeight;
color: @grayDark; color: @grayDark;