@devries-cameron20 / t3code-1 / commits / a43f9b45ae
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): preserve snapshot preview size in sent messages (#11429)

Co-authored-by: Illia Panasenko <hello@ipanasenko.me> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Bilal Bakr committed Sep 12, 2026 at 21:02 UTC a43f9b45ae85caf37e0be8270ad3d27365ece2bd
2 files changed +1 -2
apps/web/src/components/chat/MessagesTimeline.test.tsx
-1
@@ -700,7 +700,6 @@ describe("MessagesTimeline", () => {
700 expect(markup).toContain("t3code — Tests");
701 expect(markup).toContain('src="data:image/png;base64,aWNvbg=="');
702 expect(markup).toContain("h-28 w-52 max-w-full");
703 - expect(markup).not.toContain("col-span-2");
703 expect(onAnchorReady).toHaveBeenCalledOnce();
704 expect(onAnchorReady).toHaveBeenCalledWith(firstEntry.message.id, 0);
705 });
apps/web/src/components/chat/MessagesTimeline.tsx
+1 -1
@@ -1569,7 +1569,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
1569 className={cn(
1570 "bg-background/70",
1571 image.source?.kind === "snap-shot" && image.previewUrl
1572 - ? SNAP_SHOT_ATTACHMENT_FRAME_CLASS
1572 + ? cn(SNAP_SHOT_ATTACHMENT_FRAME_CLASS, "col-span-2")
1573 : "aspect-[4/3] overflow-hidden rounded-lg border border-border/80",
1574 )}
1575 >