aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-24 19:30:17 -0700
committerMark Otto <[email protected]>2014-03-24 19:30:17 -0700
commit39fec66fc4cb529d05f2b116abedf1bb2bdb65a8 (patch)
tree55cdb65256a7313bfda85416a1c100c0adb62e40 /less/forms.less
parent4a2d337bf5f329eac1ca16208414ec1ebfe0546e (diff)
parent6f6bce5944bd0e6ab36ab6b39339f381d8a80b2a (diff)
downloadbootstrap-39fec66fc4cb529d05f2b116abedf1bb2bdb65a8.tar.xz
bootstrap-39fec66fc4cb529d05f2b116abedf1bb2bdb65a8.zip
Merge branch 'master' into fat-9461
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 8578e8ce6..d51065cf6 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -31,6 +31,7 @@ legend {
label {
display: inline-block;
+ max-width: 100%; // Force IE8 to wrap long content (see #13141)
margin-bottom: 5px;
font-weight: bold;
}
@@ -170,7 +171,10 @@ input[type="search"] {
// given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.
-input[type="date"] {
+input[type="date"],
+input[type="time"],
+input[type="datetime-local"],
+input[type="month"] {
line-height: @input-height-base;
// IE8+ misaligns the text within date inputs, so we reset
line-height: @line-height-base ~"\0";