mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
update explanatory comment about iOS date/time inputs bug
Per:
* http://jsbin.com/purer/2/edit
* 6e8aa78384/README.md (ios-temporal-input-line-height)
Thanks @mdo <3
[skip sauce] [skip validator]
This commit is contained in:
parent
3dd1531d81
commit
3261ab704e
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue