adapt echarts

This commit is contained in:
archer
2023-09-04 19:25:28 +08:00
parent 32f482b232
commit bd419a22f4
5 changed files with 76 additions and 55 deletions

View File

@@ -519,7 +519,7 @@ const ChatBox = (
return (
<Flex flexDirection={'column'} h={'100%'}>
<Box ref={ChatBoxRef} flex={'1 0 0'} h={0} w={'100%'} overflow={'overlay'} px={[4, 0]} pb={3}>
<Box maxW={['100%', '92%']} h={'100%'} mx={'auto'}>
<Box id="chat-container" maxW={['100%', '92%']} h={'100%'} mx={'auto'}>
{showEmpty && <Empty />}
{!!welcomeText && (