[BUG] Web claude code chat session is wider than available space when refreshing the page.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
when I refresh a web claude code page because the session is not showing up correctly, attached is an image of the issue. this has been since the changes last week. related may be the issue with the copy button not showing up in the code windows.
<img width="1125" height="133" alt="Image" src="https://github.com/user-attachments/assets/cab1a843-efb4-46d1-b1d7-7c89ca04e46d" />
What Should Happen?
refresh should reshape to fit.
Error Messages/Logs
Steps to Reproduce
create a very long session, then once the session stops rendering we'll, refresh the browser page and watch the text flow outside of the text area.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
4.5
Claude Code Version
I'm Claude Sonnet 4.5 (model ID: claude-sonnet-4-5-20250929). This is running within Claude Code, Anthropic's official CLI tool for software engineering tasks.
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗