Skip to content

Commit

Permalink
(less) Merge pull request twbs#13651 from twbs/ios-temporal
Browse files Browse the repository at this point in the history
update explanatory comment about iOS date/time inputs bug
  • Loading branch information
mdo committed May 23, 2014
2 parents dca72e5 + 869011e commit 94ef116
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ input[type="search"] {
}


// Special styles for iOS date input
// Special styles for iOS temporal inputs
//
// In Mobile Safari, date inputs require a pixel line-height that matches the
// In Mobile Safari, setting `display: block` on temporal inputs causes the
// text within the input to become vertically misaligned.
// As a workaround, we set a pixel line-height that matches the
// given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.

Expand Down

0 comments on commit 94ef116

Please sign in to comment.