From 70d95b1bd72a039d47695495aac6b71da17df7dc Mon Sep 17 00:00:00 2001 From: Pete Hopkins Date: Fri, 27 Jan 2012 13:27:55 -0500 Subject: [PATCH] Moves IE7-specific button padding to only apply to form controls --- less/buttons.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;