Skip to content

Commit bc9f946

Browse files
committed
(less) Fixes twbs#13141: Add a max-width: 100%; to label elements so IE8 wraps text
1 parent ba1745e commit bc9f946

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

forms.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ legend {
3131

3232
label {
3333
display: inline-block;
34+
max-width: 100%; // Force IE8 to wrap long content (see #13141)
3435
margin-bottom: 5px;
3536
font-weight: bold;
3637
}

0 commit comments

Comments
 (0)