mirror of https://github.com/langgenius/dify.git
fix merge
This commit is contained in:
parent
ea4476ac6e
commit
711f7107b4
|
|
@ -91,6 +91,9 @@ const Chat: FC<ChatProps> = ({
|
|||
}, [])
|
||||
|
||||
const handleWindowResize = useCallback(() => {
|
||||
if (chatContainerRef.current)
|
||||
setWidth(document.body.clientWidth - (chatContainerRef.current?.clientWidth + 16) - 8)
|
||||
|
||||
if (chatContainerRef.current && chatFooterRef.current)
|
||||
chatFooterRef.current.style.width = `${chatContainerRef.current.clientWidth}px`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue