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:
Michael Smith 2015-06-13 22:18:44 +02:00
parent d07ba4edd1
commit 8d371a5ed9

View file

@ -34,13 +34,11 @@ td.message {
padding: 1px 1px 1px 5px;
-ms-word-break: break-all;
word-break: break-all;
/* Non standard for webkit */
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;