Skip to content

Commit

Permalink
Fix vertical alignment for datetime-local inputs on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Mar 17, 2014
1 parent 4a4dff0 commit f028396
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
9 changes: 6 additions & 3 deletions dist/css/bootstrap-rtl.css

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

9 changes: 6 additions & 3 deletions 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 less/forms.less
Expand Up @@ -170,7 +170,7 @@ input[type="search"] {
// given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.

input[type="date"] {
input[type="date"], input[type="datetime-local"] {
line-height: @input-height-base;
// IE8+ misaligns the text within date inputs, so we reset
line-height: @line-height-base ~"\0";
Expand Down

0 comments on commit f028396

Please sign in to comment.