Skip to content

fix(browser): remove hardcoded 800px max width on browser pane#24

Merged
amirlehmam merged 1 commit into
amirlehmam:masterfrom
schroldgames:fix/browser-pane-max-width
Jun 8, 2026
Merged

fix(browser): remove hardcoded 800px max width on browser pane#24
amirlehmam merged 1 commit into
amirlehmam:masterfrom
schroldgames:fix/browser-pane-max-width

Conversation

@schroldgames

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the hardcoded 800px upper bound on browser pane width with window.innerWidth - 400, so the pane can scale with the window
  • On larger displays (or when the terminal side only needs a narrow strip) the browser pane was artificially capped at 800px regardless of available space
  • Also adds .claude/settings.local.json to .gitignore (local Claude Code settings should not be committed)

Behaviour

Before After
Drag handle stops at 800px even on wide displays Drag handle goes up to windowWidth - 400px, leaving at least 400px for the terminal side

Test plan

  • Open a browser pane and drag the resize handle — confirm it can expand beyond 800px on a display wider than ~1200px
  • Confirm the terminal side never collapses below 400px
  • Confirm minimum browser pane width (250px) is still respected when dragging toward the terminal

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@amirlehmam amirlehmam merged commit f5f676d into amirlehmam:master Jun 8, 2026
@amirlehmam

Copy link
Copy Markdown
Owner

Merged and shipped in v0.8.3. Thanks @schroldgames — the browser pane now scales with the window instead of capping at 800px.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants