reworked slightly main layout

This commit is contained in:
t1enne
2022-05-03 23:55:13 +02:00
parent d65be6013a
commit 502cf4478a
10 changed files with 95 additions and 41 deletions

View File

@@ -17,11 +17,9 @@ export default function ChatContainer(props: Props) {
const chatContainerRef = useRef(null);
return (
<div>
<div style={{ height: 'calc(100vh - 104.5px)' }}>
<Spin spinning={loading} />
<Virtuoso
style={{ height: '400px' }}
ref={chatContainerRef}
initialTopMostItemIndex={999}
data={messages}