remove padding on .search-query for IE7-8 since it doesn't pick up large border-radius

This commit is contained in:
Mark Otto 2012-03-25 14:31:04 -07:00
parent c0f28d81b0
commit d0526e31fa
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -1085,6 +1085,10 @@ select:focus:required:invalid:focus {
.search-query {
padding-left: 14px;
padding-right: 14px;
padding-left: 4px \9;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
padding-right: 4px \9;
margin-bottom: 0;
-webkit-border-radius: 14px;
-moz-border-radius: 14px;

View File

@ -450,6 +450,8 @@ select:focus:required:invalid {
.search-query {
padding-left: 14px;
padding-right: 14px;
padding-left: 4px \9; /* IE7-8 doesn't have border-radius, so don't indent the padding */
padding-right: 4px \9;
margin-bottom: 0; // remove the default margin on all inputs
.border-radius(14px);
}