Repository navigation
fix(file-preview): let rendered Markdown fill the resized window - #730
Conversation
The corner grip and Expand size the window correctly, but the document kept a fixed 960px reading column from before the resize feature existed, so text stopped reflowing once the window grew past it. Pinned by new rule 13 in file-preview-window.test.ts. Co-Authored-By: Claude Code <noreply@anthropic.com>
|
Thank you, @opticon454. This removes the fixed 960px reading column from the File Viewer's rendered Markdown, so the document reflows to fill the window once it is dragged larger or expanded, which pairs well with the resize grip you added. I checked it in Chromium against the parent commit: the default-size and phone layouts are identical, an expanded window now fills edge to edge, and the new test fails on the old stylesheet as it should. One small leftover:
I can add that line at merge time, so there is nothing you need to push for this to go in. |
Set --rv-content-max: none on the File Viewer's rendered document, so ASCII-diagram blocks (capped by that variable with a 720px fallback the Response Viewer sets) follow the window like the rest of the document, and pin it with a third assertion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Consolidate this release's notes into one changeset (Thanks, the tab strip, the fixes, the fixes applied while landing) and drop #730's own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged in 1.47.0 (https://github.com/Ark0N/Codeman/releases/tag/codeman%401.47.0). Thank you, it pairs well with the resize grip. At merge I added |
Rendered Markdown in the File Viewer stops growing at a fixed 960px column even when the user resizes or expands the window. Remove that cap so the document reflows to the available width. Default desktop and phone widths retain their existing layout.
Adds a regression check for the preview and shared prose rules, plus a patch changeset. No API changes.
Validation:
The remaining browser, mobile and performance suites were not run. This PR does not deploy or release the change.
Implementation commit: 34f7766.