Skip to content

Commit

Permalink
Fixes #14234: Reset the hack IE8-10 with another hack just for IE11 f…
Browse files Browse the repository at this point in the history
…or temporal inputs and line-height
  • Loading branch information
mdo committed Aug 3, 2014
1 parent 9d0872b commit 6424acf
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 6 deletions.
31 changes: 30 additions & 1 deletion dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

31 changes: 30 additions & 1 deletion docs/dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.min.css

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,21 @@ input[type="month"] {
}
}

// IE 11 hack to reverse the iOS temporal input hack.
_:-ms-fullscreen, :root input[type="date"],
_:-ms-fullscreen, :root input[type="time"],
_:-ms-fullscreen, :root input[type="datetime-local"],
_:-ms-fullscreen, :root input[type="month"] {
line-height: @line-height-base;

&.input-sm {
line-height: @line-height-small;
}
&.input-lg {
line-height: @line-height-large;
}
}


// Form groups
//
Expand Down

0 comments on commit 6424acf

Please sign in to comment.