Skip to content

Commit 0916226

Browse files
committed
bring back checkbox borders to iOS by conditionalizing the border: 0; on it to IE7-9; fix word break on pre in IE
1 parent 6f6adfb commit 0916226

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

docs/assets/bootstrap.zip

35 Bytes
Binary file not shown.

docs/assets/css/bootstrap.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ pre {
498498
white-space: pre;
499499
white-space: pre-wrap;
500500
word-break: break-all;
501+
word-wrap: break-word;
501502
}
502503
pre.prettyprint {
503504
margin-bottom: 18px;
@@ -588,11 +589,16 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
588589
/* IE7 */
589590

590591
line-height: normal;
591-
border: 0;
592592
cursor: pointer;
593593
-webkit-border-radius: 0;
594594
-moz-border-radius: 0;
595595
border-radius: 0;
596+
border: 0 \9;
597+
/* IE9 and down */
598+
599+
}
600+
input[type="image"] {
601+
border: 0;
596602
}
597603
input[type="file"] {
598604
width: auto;

less/code.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pre {
3434
white-space: pre;
3535
white-space: pre-wrap;
3636
word-break: break-all;
37+
word-wrap: break-word;
3738

3839
// Make prettyprint styles more spaced out for readability
3940
&.prettyprint {

less/forms.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,12 @@ input[type="radio"] {
9696
margin: 3px 0;
9797
*margin-top: 0; /* IE7 */
9898
line-height: normal;
99-
border: 0;
10099
cursor: pointer;
101100
.border-radius(0);
101+
border: 0 \9; /* IE9 and down */
102+
}
103+
input[type="image"] {
104+
border: 0;
102105
}
103106

104107
// Reset the file input to browser defaults

0 commit comments

Comments
 (0)