diff options
| author | Pete Hopkins <[email protected]> | 2012-01-27 13:27:55 -0500 |
|---|---|---|
| committer | Pete Hopkins <[email protected]> | 2012-01-27 16:09:58 -0500 |
| commit | 70d95b1bd72a039d47695495aac6b71da17df7dc (patch) | |
| tree | 5b4766e5a144ef8e887f9a77cd4c3babf0c9cf75 | |
| parent | 3b3dbd7229f53eb71759def4eca90dfd7a2699f8 (diff) | |
| download | bootstrap-70d95b1bd72a039d47695495aac6b71da17df7dc.tar.xz bootstrap-70d95b1bd72a039d47695495aac6b71da17df7dc.zip | |
Moves IE7-specific button padding to only apply to form controls
| -rw-r--r-- | less/buttons.less | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/less/buttons.less b/less/buttons.less index f18cf9d95..5f6f0c24b 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; |
