Use "white-space: pre-wrap" for "Text will wrap when necessary, and on line breaks"

This commit is contained in:
Emmanuel ROHEE 2014-09-15 10:22:57 +02:00
parent 3292f70071
commit f3d3441d02
1 changed files with 2 additions and 3 deletions

View File

@ -528,9 +528,8 @@ a:active { color: #000; }
}
.bubble .message {
/* Break lines when encountering CR+LF */
/* FIXME: this breaks wordwrapping. We need to s#CRLF#<br/>#g instead */
/* white-space: pre; */
/* Wrap words and break lines on CR+LF */
white-space: pre-wrap;
}
.bubble .messagePending {
opacity: 0.3