From d9345ff7d55e3982b36f88cb7459239a773bbfda Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Dec 2013 15:27:46 -0800 Subject: Fixes #11266: Apply a pixel-based line-height to date inputs for iOS 7 --- less/forms.less | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'less/forms.less') 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 // -- cgit v1.2.3