Before submitting
Area
apps/web
Problem or use case
The right panel has a hard stop at 1400px. On larger monitors, that leaves plenty of negative space around the chat, while the browser viewport stays pretty narrow.
It would be useful to remove the hard 1400px wide limit to preview wider desktop layouts in the built-in browser.
The width of the panel is currently limited to this in apps/web/src/components/preview/PreviewPanelShell.tsx:
return Math.min(
PREVIEW_PANEL_MAX_WIDTH_PX, // 1400px
Math.floor(vw * PREVIEW_PANEL_MAX_WIDTH_FRACTION), // 0.7
);
Proposed solution
Would it make sense to remove the fixed 1400px ceiling and let the existing 70vw limit handle this instead?
return Math.floor(vw * PREVIEW_PANEL_MAX_WIDTH_FRACTION);
Why this matters
Users with larger monitors. On a 6k monitor, at the moment, I have to switch to an external browser, because the built-in browser is just too small.
Smallest useful scope
return Math.floor(vw * PREVIEW_PANEL_MAX_WIDTH_FRACTION);
Alternatives considered
No response
Risks or tradeoffs
No response
Examples or references
No response
Contribution
Before submitting
Area
apps/web
Problem or use case
The right panel has a hard stop at 1400px. On larger monitors, that leaves plenty of negative space around the chat, while the browser viewport stays pretty narrow.
It would be useful to remove the hard 1400px wide limit to preview wider desktop layouts in the built-in browser.
The width of the panel is currently limited to this in
apps/web/src/components/preview/PreviewPanelShell.tsx:Proposed solution
Would it make sense to remove the fixed 1400px ceiling and let the existing 70vw limit handle this instead?
Why this matters
Users with larger monitors. On a 6k monitor, at the moment, I have to switch to an external browser, because the built-in browser is just too small.
Smallest useful scope
return Math.floor(vw * PREVIEW_PANEL_MAX_WIDTH_FRACTION);Alternatives considered
No response
Risks or tradeoffs
No response
Examples or references
No response
Contribution