Skip to content

Commit a3f93d1

Browse files
committed
fix(#18): wrapping words in message
1 parent 879df42 commit a3f93d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/default/components/_message.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ $_message-avatar-offset: $message-avatar-width + $message-avatar-horizontal-marg
104104
padding: 0.6em 0.9em;
105105
border-radius: $message-content-border-radius;
106106
white-space: pre-wrap;
107-
overflow-wrap: break-word;
108-
word-break: break-all;
107+
overflow-wrap: anywhere;
108+
word-break: break-word; // break-word value is deprecated, but it's necessary for Safari
109109
font-family: $message-content-font-family;
110110
font-weight: $message-content-font-weight;
111111
font-size: $message-content-font-size;

0 commit comments

Comments
 (0)