From: Pete Hopkins Date: Fri, 27 Jan 2012 18:27:55 +0000 (-0500) Subject: Moves IE7-specific button padding to only apply to form controls X-Git-Tag: v2.0.0~6^2~111^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70d95b1bd72a039d47695495aac6b71da17df7dc;p=thirdparty%2Fbootstrap.git Moves IE7-specific button padding to only apply to form controls --- diff --git a/less/buttons.less b/less/buttons.less index f18cf9d955..5f6f0c24b2 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -67,7 +67,6 @@ // 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 { @@ -151,6 +150,8 @@ // Help Firefox not be a jerk about adding extra padding to buttons button.btn, input[type=submit].btn { + // IE7 has some default padding on button controls + *padding: 2px 10px; &::-moz-focus-inner { padding: 0; border: 0;