forked from Shiloh/remnantchat
fix: prevent unstyled pre content from breaking out of message box
This commit is contained in:
parent
630a7aa398
commit
69a15443ce
3
src/components/Message/Message.sass
Normal file
3
src/components/Message/Message.sass
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.Message
|
||||||
|
pre
|
||||||
|
overflow: auto
|
@ -22,6 +22,8 @@ import remarkGfm from 'remark-gfm'
|
|||||||
import { Message as IMessage, isMessageReceived } from 'models/chat'
|
import { Message as IMessage, isMessageReceived } from 'models/chat'
|
||||||
import { PeerNameDisplay } from 'components/PeerNameDisplay'
|
import { PeerNameDisplay } from 'components/PeerNameDisplay'
|
||||||
|
|
||||||
|
import './Message.sass'
|
||||||
|
|
||||||
export interface MessageProps {
|
export interface MessageProps {
|
||||||
message: IMessage
|
message: IMessage
|
||||||
userId: string
|
userId: string
|
||||||
|
Loading…
Reference in New Issue
Block a user