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
parent 900fd82a92
commit cdb08be951
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}