fix: ui bug

This commit is contained in:
archer
2023-05-18 20:54:01 +08:00
parent 5bf95bd846
commit 5d4dd4a18c
9 changed files with 84 additions and 251 deletions

View File

@@ -23,11 +23,11 @@ const Kb = ({ kbId }: { kbId: string }) => {
<Flex h={'100%'} position={'relative'} overflow={'hidden'}>
{/* 模型列表 */}
{(isPc || !kbId) && (
<SideBar w={[1, '0 0 250px', '0 0 270px', '0 0 290px']}>
<SideBar w={['100%', '0 0 250px', '0 0 270px', '0 0 290px']}>
<KbList kbId={kbId} />
</SideBar>
)}
<Box flex={1} h={'100%'} position={'relative'}>
<Box flex={'1 0 0'} w={0} h={'100%'} position={'relative'}>
{kbId && <KbDetail kbId={kbId} />}
</Box>
</Flex>