1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 06:36:33 +02:00

compensate for ie7 button padding with no borders, fix indentation

This commit is contained in:
Mark Otto
2012-08-14 15:44:25 -07:00
parent f933a41c7b
commit f3479a3953
5 changed files with 8 additions and 7 deletions

View File

@@ -3253,8 +3253,8 @@ button.close {
button.btn, button.btn,
input[type="submit"].btn { input[type="submit"].btn {
*padding-top: 2px; *padding-top: 3px;
*padding-bottom: 2px; *padding-bottom: 3px;
} }
button.btn::-moz-focus-inner, button.btn::-moz-focus-inner,

View File

@@ -170,8 +170,9 @@ input[type="submit"].btn {
} }
// IE7 has some default padding on button controls // IE7 has some default padding on button controls
*padding-top: 2px; *padding-top: 3px;
*padding-bottom: 2px; *padding-bottom: 3px;
&.btn-large { &.btn-large {
*padding-top: 7px; *padding-top: 7px;
*padding-bottom: 7px; *padding-bottom: 7px;