Fix multiple spaces not beeing displayed in message bubbles
Multiple spaces (" ") are displayed by browsers as a single whitespace character if 'white-space: pre-wrap;' is not set.
This commit is contained in:
parent
ec4ef9062c
commit
5378cd8602
2 changed files with 4 additions and 1 deletions
|
@ -179,6 +179,8 @@
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
-webkit-user-select: text;
|
-webkit-user-select: text;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
word-break: break-all
|
word-break: break-all
|
||||||
}
|
}
|
||||||
|
|
|
@ -624,7 +624,8 @@ input.search {
|
||||||
border-bottom: 6px solid transparent; }
|
border-bottom: 6px solid transparent; }
|
||||||
.message-detail .bubble .content,
|
.message-detail .bubble .content,
|
||||||
.message-list .bubble .content {
|
.message-list .bubble .content {
|
||||||
-webkit-user-select: text; }
|
-webkit-user-select: text;
|
||||||
|
white-space: pre-wrap; }
|
||||||
.message-detail .bubble .content a,
|
.message-detail .bubble .content a,
|
||||||
.message-list .bubble .content a {
|
.message-list .bubble .content a {
|
||||||
word-break: break-all; }
|
word-break: break-all; }
|
||||||
|
|
Loading…
Reference in a new issue