💄 style: fix layout

This commit is contained in:
arvinxx
2023-07-22 16:48:16 +08:00
parent 504bd645bb
commit 2d83aff872
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import ChatList from './ChatList';
const Conversation = () => {
return (
<Flexbox flex={1}>
<Flexbox flex={1} style={{ position: 'relative' }}>
<div style={{ flex: 1, overflowY: 'scroll' }}>
<HeaderSpacing />
<ChatList />

View File

@@ -23,9 +23,9 @@ const Chat = memo(() => {
<Head>
<title>{pageTitle}</title>
</Head>
<Flexbox id={'lobe-conversion-container'} style={{ height: '100vh', position: 'relative' }}>
<Flexbox id={'lobe-conversion-container'} style={{ height: '100vh' }}>
<Header />
<Flexbox flex={1} horizontal>
<Flexbox flex={1} height={'calc(100vh - 64px)'} horizontal>
<Conversation />
<Config />
</Flexbox>