Commit 10e9fef8 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #13651 from twbs/ios-temporal

update explanatory comment about iOS date/time inputs bug
parents 338cff13 3261ab70
4 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!25326Adjust examples
Showing with 4 additions and 2 deletions
+4 -2
...@@ -165,9 +165,11 @@ input[type="search"] { ...@@ -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 // given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations. // appropriately reset it for Internet Explorer and the size variations.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment