Chat Messages on Mobile devices - the space is too narrow


I am using Streamlit to build a chatbot.
It is hosted on
It renders great on desktop.

The mobile experience is not very good!

The space for the messages to show is too narrow - is it something that could be done better?
I remember using the chat on mobile before (January2024) and I donโ€™t remember if it was this bad.
This is kinda urgent for me now.

Thank you!

Could you post images for desktop and mobile, letโ€™s see how bad it is?