fix: prevent unstyled pre content from breaking out of message box

This commit is contained in:
Jeremy Kahn 2022-10-01 11:46:46 -05:00
parent 630a7aa398
commit 69a15443ce
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
.Message
pre
overflow: auto

View File

@ -22,6 +22,8 @@ import remarkGfm from 'remark-gfm'
import { Message as IMessage, isMessageReceived } from 'models/chat'
import { PeerNameDisplay } from 'components/PeerNameDisplay'
import './Message.sass'
export interface MessageProps {
message: IMessage
userId: string