Skip to content

Commit

Permalink
(less) Fixes twbs#13141: Add a max-width: 100%; to label elements so …
Browse files Browse the repository at this point in the history
…IE8 wraps text
  • Loading branch information
mdo committed Mar 25, 2014
1 parent ba1745e commit bc9f946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bc9f946

Please sign in to comment.