mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
Use "white-space: pre-wrap" for "Text will wrap when necessary, and on line breaks"
This commit is contained in:
parent
3292f70071
commit
f3d3441d02
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue