Skip to content

Commit

Permalink
Merge pull request #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 338cff1 + 3261ab7 commit 10e9fef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions less/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 10e9fef

Please sign in to comment.