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:
committed by
Chris Rebert
parent
f2952aeccf
commit
1be0b57d34
+4
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user