Preserve newlines in chat (#39)
This commit is contained in:
parent
a38f0514b9
commit
c4d8985667
@ -23,7 +23,9 @@ export const ChatMessage = ({
|
|||||||
<div
|
<div
|
||||||
className={`pr-4 text-${
|
className={`pr-4 text-${
|
||||||
isSelf ? "gray-300" : accentColor + "-500"
|
isSelf ? "gray-300" : accentColor + "-500"
|
||||||
} text-sm ${isSelf ? "" : "drop-shadow-" + accentColor}`}
|
} text-sm ${
|
||||||
|
isSelf ? "" : "drop-shadow-" + accentColor
|
||||||
|
} whitespace-pre-line`}
|
||||||
>
|
>
|
||||||
{message}
|
{message}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user