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:
parent
3b3dbd7229
commit
70d95b1bd7
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue