diff options
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 6 |
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"; |
