aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-08-02 21:16:32 -0700
committerMark Otto <[email protected]>2014-08-02 21:16:32 -0700
commit6424acf69ae40a916db04b5c3235f1780f11b4be (patch)
treef7dcb8f3d4a78f4e960e7bf29eb68a1f45a613e1 /less/forms.less
parent9d0872b74821a72f91e8604d69e6f94054ff0490 (diff)
downloadbootstrap-6424acf69ae40a916db04b5c3235f1780f11b4be.tar.xz
bootstrap-6424acf69ae40a916db04b5c3235f1780f11b4be.zip
Fixes #14234: Reset the hack IE8-10 with another hack just for IE11 for temporal inputs and line-height
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 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
//