Fixes problem with Firefox breaking long lines between any random character. References #624.
Firefox would break long lines in the middle of words, disregarding hyphenation rules resulting in poor readability. This change fixes that behaviour while still preventing very long unbreakable strings from showing a horizontal scrollbar. Tested in Firefox 38.0.5 and Google Chrome 43.0.2357.124 (64-bit)
This commit is contained in:
parent
d07ba4edd1
commit
8d371a5ed9
1 changed files with 0 additions and 2 deletions
|
@ -34,13 +34,11 @@ td.message {
|
||||||
padding: 1px 1px 1px 5px;
|
padding: 1px 1px 1px 5px;
|
||||||
|
|
||||||
-ms-word-break: break-all;
|
-ms-word-break: break-all;
|
||||||
word-break: break-all;
|
|
||||||
|
|
||||||
/* Non standard for webkit */
|
/* Non standard for webkit */
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
||||||
-webkit-hyphens: auto;
|
-webkit-hyphens: auto;
|
||||||
-moz-hyphens: auto;
|
|
||||||
-ms-hyphens: auto;
|
-ms-hyphens: auto;
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue