Overnap

채팅 관련 css 수정

......@@ -41,7 +41,7 @@ export const Chat: React.FC = () => {
}, [input]);
return (
<div className='w-5/12'>
<div className='w-4/12'>
<div className='w-full h-80 rounded shadow flex flex-col overflow-y-scroll'>
{chatLines.map((line, i) => (<ChatLine key={16383+i} chatData={line}/>))}
<div ref={messageEndRef} />
......
......@@ -7,7 +7,7 @@ interface ChatLineProps {
export const ChatLine: React.FC<ChatLineProps> = ({ chatData }) => {
return (
<div className='w-5/6 px-3 py-2 bg-white
<div className='w-full px-3 py-1.5 bg-white
text-gray-700 text-sm'>{chatData.sender} : {chatData.message}</div>
);
}
......