1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Moves IE7-specific button padding to only apply to form controls

This commit is contained in:
Pete Hopkins 2012-01-27 13:27:55 -05:00
parent 3b3dbd7229
commit 70d95b1bd7

View file

@ -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;