Commit d9345ff7 authored by Mark Otto's avatar Mark Otto

Fixes #11266: Apply a pixel-based line-height to date inputs for iOS 7

parent 4f22670c
...@@ -1696,6 +1696,9 @@ fieldset[disabled] .form-control { ...@@ -1696,6 +1696,9 @@ fieldset[disabled] .form-control {
textarea.form-control { textarea.form-control {
height: auto; height: auto;
} }
input[type="date"] {
line-height: 34px;
}
.form-group { .form-group {
margin-bottom: 15px; margin-bottom: 15px;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -155,6 +155,14 @@ output { ...@@ -155,6 +155,14 @@ output {
} }
} }
// Special styles for iOS date input
//
// In Mobile Safari, date inputs require a pixel line-height that matches the
// given height of the input.
input[type="date"] {
line-height: @input-height-base;
}
// Form groups // Form groups
// //
......
Markdown is supported
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