Thread media is for looking at: big inline, tap to open, click to zoom - #157
Merged
Merged
Conversation
Inline media in the Thread view was capped at 12rem tall (and 16rem wide in the Capture hero) — a postage stamp. Images and clips now stand full-width up to two-thirds of the viewport. Tapping an image opens it in the existing MediaLightbox, and clicking the picture inside the lightbox toggles full-size zoom, panned by scrolling. The composer's attachment drafts and the Map Journal's compact capture sheet keep their small previews. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AWe1KDcPdLHgufnMo3euwM
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Inline media in the Thread view rendered tiny:
.chat-mediawas capped at 12rem tall, and the Capture hero squeezed it further to 16rem wide. There was also no way to open media from a Thread.max-height: 68vh), and the hero's 16rem width cap is removed.MediaLightbox.Test plan
mise lint/pnpm testgreen locally (pnpm typecheckpasses; the one ESLint error reported inthread-chat.tsxis the pre-existingset-state-in-effectissue onmain;media-captureandmedia-retentionspecs pass — the browser UI suites cannot run in this container due to a pre-existing dev-server issue, so please eyeball the preview)Generated by Claude Code