fix: overflow issues in chat history (#8062)

This commit is contained in:
Yi Xiao 2024-09-06 19:20:18 +08:00 • committed by GitHub
commit cdb08be951
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 63 additions and 62 deletions

View file

@ -99,7 +99,7 @@ const ChatWrapper = () => {
return (
<>
{!currentConversationId && (
<div className={cn('mx-auto w-full max-w-[720px] tablet:px-4', isMobile && 'px-4')}>
<div className={cn('mx-auto w-full max-w-full tablet:px-4', isMobile && 'px-4')}>
<div className='mb-6' />
<ConfigPanel />
<div
@ -132,9 +132,9 @@ const ChatWrapper = () => {
config={appConfig}
chatList={chatList}
isResponding={isResponding}
chatContainerInnerClassName={cn('mx-auto w-full max-w-[720px] tablet:px-4', isMobile && 'px-4')}
chatContainerInnerClassName={cn('mx-auto w-full max-w-full tablet:px-4', isMobile && 'px-4')}
chatFooterClassName='pb-4'
chatFooterInnerClassName={cn('mx-auto w-full max-w-[720px] tablet:px-4', isMobile && 'px-4')}
chatFooterInnerClassName={cn('mx-auto w-full max-w-full tablet:px-4', isMobile && 'px-4')}
onSend={doSend}
onStopResponding={handleStop}
chatNode={chatNode}