From 6424acf69ae40a916db04b5c3235f1780f11b4be Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 2 Aug 2014 21:16:32 -0700 Subject: Fixes #14234: Reset the hack IE8-10 with another hack just for IE11 for temporal inputs and line-height --- less/forms.less | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index 7749479d2..6077ae7a3 100644 --- a/less/forms.less +++ b/less/forms.less @@ -191,6 +191,21 @@ input[type="month"] { } } +// IE 11 hack to reverse the iOS temporal input hack. +_:-ms-fullscreen, :root input[type="date"], +_:-ms-fullscreen, :root input[type="time"], +_:-ms-fullscreen, :root input[type="datetime-local"], +_:-ms-fullscreen, :root input[type="month"] { + line-height: @line-height-base; + + &.input-sm { + line-height: @line-height-small; + } + &.input-lg { + line-height: @line-height-large; + } +} + // Form groups // -- cgit v1.2.3