diff --git a/src/components/Message/Message.sass b/src/components/Message/Message.sass new file mode 100644 index 0000000..7033936 --- /dev/null +++ b/src/components/Message/Message.sass @@ -0,0 +1,3 @@ +.Message + pre + overflow: auto diff --git a/src/components/Message/Message.tsx b/src/components/Message/Message.tsx index f4dc513..93b5d54 100644 --- a/src/components/Message/Message.tsx +++ b/src/components/Message/Message.tsx @@ -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