1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fixes #13141: Add a max-width: 100%; to label elements so IE8 wraps text

This commit is contained in:
Mark Otto 2014-03-24 19:26:41 -07:00
parent 5c2a9fc9c3
commit 6f6bce5944
10 changed files with 10 additions and 7 deletions

View file

@ -2976,6 +2976,7 @@ legend {
label { label {
display: inline-block; display: inline-block;
max-width: 100%;
margin-bottom: 5px; margin-bottom: 5px;
font-weight: bold; font-weight: bold;
} }

File diff suppressed because one or more lines are too long

View file

@ -2285,6 +2285,7 @@ legend {
} }
label { label {
display: inline-block; display: inline-block;
max-width: 100%;
margin-bottom: 5px; margin-bottom: 5px;
font-weight: bold; font-weight: bold;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -31,6 +31,7 @@ legend {
label { label {
display: inline-block; display: inline-block;
max-width: 100%; // Force IE8 to wrap long content (see #13141)
margin-bottom: 5px; margin-bottom: 5px;
font-weight: bold; font-weight: bold;
} }