You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
User message box overflows horizontally on mobile viewports #6200
On mobile viewports (e.g., iPhone 14 Pro Max at 430px width), the user message box in the share page overflows horizontally, breaking the page layout and causing horizontal scrolling.
Root Cause
The [data-component="user-message"] CSS lacks proper width constraints (min-width: 0 and max-width: 100%) to allow flex children to shrink below their content size. Additionally, the [data-slot="user-message-text"] element needs overflow-wrap: break-word and word-break: break-word to handle long unbroken text.
Steps to Reproduce
Open a shared session page (e.g., /share/[shareID])
View on mobile viewport or use device emulation (iPhone 14 Pro Max)
Observe the user message content overflowing horizontally
Expected Behavior
User message content should wrap properly and respect container boundaries on all viewport sizes.
Activity
github-actions commentedon Dec 26, 2025
This issue might be a duplicate of existing issues. Please check:
This issue also relates to similar layout/viewport handling challenges. Feel free to ignore if none of these address your specific case.
fix: prevent user message box horizontal overflow on mobile viewports
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.