Overnap

채팅 스크롤 추가

...@@ -42,7 +42,7 @@ export const Chat: React.FC = () => { ...@@ -42,7 +42,7 @@ export const Chat: React.FC = () => {
42 42
43 return ( 43 return (
44 <div className='w-5/12'> 44 <div className='w-5/12'>
45 - <div className='w-full h-80 rounded shadow flex flex-col items-center end'> 45 + <div className='w-full h-80 rounded shadow flex flex-col overflow-y-scroll'>
46 {chatLines.map((line, i) => (<ChatLine key={16383+i} chatData={line}/>))} 46 {chatLines.map((line, i) => (<ChatLine key={16383+i} chatData={line}/>))}
47 <div ref={messageEndRef} /> 47 <div ref={messageEndRef} />
48 </div> 48 </div>
......