2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Fix vertical alignment of temporal inputs on iOS

Fixes #13098
Closes #13099
This commit is contained in:
Rob Fletcher
2014-03-17 14:36:58 +00:00
committed by Chris Rebert
parent f2952aeccf
commit 1be0b57d34
3 changed files with 28 additions and 7 deletions
+4 -1
View File
@@ -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";