From f95c01f289cdf077c77cf9671b3ae16c5116a5f1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Dec 2013 15:27:46 -0800 Subject: [PATCH] (less) Fixes #11266: Apply a pixel-based line-height to date inputs for iOS 7 --- forms.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/forms.less b/forms.less index e623c42e50dd..a5f96680288b 100644 --- a/forms.less +++ b/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 //