Skip to content

Commit

Permalink
(less) Fix vertical alignment of temporal inputs on iOS
Browse files Browse the repository at this point in the history
Fixes twbs#13098
Closes twbs#13099
  • Loading branch information
robfletcher authored and cvrebert committed Mar 20, 2014
1 parent 8b491cb commit b50f958
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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

0 comments on commit b50f958

Please sign in to comment.