diff options
| author | Mark Otto <[email protected]> | 2013-12-15 15:27:46 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-15 15:27:46 -0800 |
| commit | d9345ff7d55e3982b36f88cb7459239a773bbfda (patch) | |
| tree | 816a122c505e8608adcf8023649e745222e34ea9 /less | |
| parent | 4f22670c6ecfd4239fe690719867531c18721234 (diff) | |
| download | bootstrap-d9345ff7d55e3982b36f88cb7459239a773bbfda.tar.xz bootstrap-d9345ff7d55e3982b36f88cb7459239a773bbfda.zip | |
Fixes #11266: Apply a pixel-based line-height to date inputs for iOS 7
Diffstat (limited to 'less')
| -rw-r--r-- | less/forms.less | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index e623c42e5..a5f966802 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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 // |
