Skip to content

Commit

Permalink
bring back checkbox borders to iOS by conditionalizing the border: 0;…
Browse files Browse the repository at this point in the history
… on it to IE7-9; fix word break on pre in IE
  • Loading branch information
mdo committed Feb 17, 2012
1 parent 6f6adfb commit 0916226
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
8 changes: 7 additions & 1 deletion docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ pre {
white-space: pre;
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
}
pre.prettyprint {
margin-bottom: 18px;
Expand Down Expand Up @@ -588,11 +589,16 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
/* IE7 */

line-height: normal;
border: 0;
cursor: pointer;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
border: 0 \9;
/* IE9 and down */

}
input[type="image"] {
border: 0;
}
input[type="file"] {
width: auto;
Expand Down
1 change: 1 addition & 0 deletions less/code.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pre {
white-space: pre;
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;

// Make prettyprint styles more spaced out for readability
&.prettyprint {
Expand Down
5 changes: 4 additions & 1 deletion less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,12 @@ input[type="radio"] {
margin: 3px 0;
*margin-top: 0; /* IE7 */
line-height: normal;
border: 0;
cursor: pointer;
.border-radius(0);
border: 0 \9; /* IE9 and down */
}
input[type="image"] {
border: 0;
}

// Reset the file input to browser defaults
Expand Down

0 comments on commit 0916226

Please sign in to comment.