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