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

@ -144,9 +144,9 @@ const ChatWrapper = () => {
config={appConfig}
chatList={chatList}
isResponding={isResponding}
chatContainerInnerClassName={`mx-auto pt-6 w-full max-w-[720px] ${isMobile && 'px-4'}`}
chatContainerInnerClassName={`mx-auto pt-6 w-full max-w-full ${isMobile && 'px-4'}`}
chatFooterClassName='pb-4'
chatFooterInnerClassName={`mx-auto w-full max-w-[720px] ${isMobile && 'px-4'}`}
chatFooterInnerClassName={`mx-auto w-full max-w-full ${isMobile && 'px-4'}`}
onSend={doSend}
onStopResponding={handleStop}
chatNode={chatNode}