aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less15
1 files changed, 15 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less
index 1d8fd0c2d..999cb506e 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -194,6 +194,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
//