Open ziyu4huang opened 1 month ago
Hello @ziyu4huang! 👋 I'm here to assist you with any bugs, questions, or contributions you have for the Dify project. I'm an expert bot ready to help while you wait for a human maintainer.
To fix the issue of the chatbot dialog width being too small after upgrading to version 0.10.0, you can modify the max-w-[720px]
to max-w-[1280px]
in the chatContainerInnerClassName
and chatFooterInnerClassName
properties within the ChatWrapper
component. Here is the relevant code snippet with the modification:
<Chat
...
chatContainerInnerClassName={`mx-auto pt-6 w-full max-w-[1280px] ${isMobile && 'px-4'}`}
...
chatFooterInnerClassName={`mx-auto w-full max-w-[1280px] ${isMobile && 'px-4'}`}
...
/>
This change will increase the maximum width of the chat container and footer to 1280px, addressing the issue of the dialog width being too small [1].
To continue talking to Dosu, mention @dosu.
Do you have a screenshot?
Sorry, due to company's policy , I have difficut to upload image. I will try it late outside company.
Here is the dialog screen , it can no take full with of browser
I think the bot answer where the code cause the problem. I am not sure why is okay before.
I see
Hi, @ziyu4huang. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
ChatWrapper
component, which should resolve the issue.Next Steps:
Thank you for your understanding and contribution!
Self Checks
Dify version
0.10.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Use "Run App", and start chat .
✔️ Expected Behavior
Expect the dialog take all space of browser
❌ Actual Behavior
the dialog looks too small.
I try to hack div , make the max-w-720 to 1280px , it looks OK. class="px-8 mx-auto pt-6 w-full max-w-[1280px] false"
How can we fix it ?