Skip to content

Commit

Permalink
Fix vertical alignment of temporal inputs on iOS
Browse files Browse the repository at this point in the history
Fixes #13098
Closes #13099
  • Loading branch information
robfletcher authored and cvrebert committed Mar 20, 2014
1 parent f2952ae commit 1be0b57
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
15 changes: 12 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.

15 changes: 12 additions & 3 deletions dist/css/bootstrap.css

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

5 changes: 4 additions & 1 deletion less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ 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="time"],
input[type="datetime-local"],
input[type="month"] {
line-height: @input-height-base;
// IE8+ misaligns the text within date inputs, so we reset
line-height: @line-height-base ~"\0";
Expand Down

1 comment on commit 1be0b57

@mdo
Copy link
Member

@mdo mdo commented on 1be0b57 Mar 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @cvrebert <3.

Please sign in to comment.