mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Moves IE7-specific button padding to only apply to form controls
This commit is contained in:
@@ -67,7 +67,6 @@
|
|||||||
// Button Base
|
// Button Base
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 4px 10px 4px;
|
padding: 4px 10px 4px;
|
||||||
*padding: 2px 10px;
|
|
||||||
// IE7 likes to collapse the whitespace before the button, so bring it back...
|
// IE7 likes to collapse the whitespace before the button, so bring it back...
|
||||||
*margin-left: 4px;
|
*margin-left: 4px;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
@@ -151,6 +150,8 @@
|
|||||||
// Help Firefox not be a jerk about adding extra padding to buttons
|
// Help Firefox not be a jerk about adding extra padding to buttons
|
||||||
button.btn,
|
button.btn,
|
||||||
input[type=submit].btn {
|
input[type=submit].btn {
|
||||||
|
// IE7 has some default padding on button controls
|
||||||
|
*padding: 2px 10px;
|
||||||
&::-moz-focus-inner {
|
&::-moz-focus-inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
Reference in New Issue
Block a user