Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/web/src/components/chat/MessagesTimeline.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,6 @@ describe("MessagesTimeline", () => {
expect(markup).toContain("t3code — Tests");
expect(markup).toContain('src="data:image/png;base64,aWNvbg=="');
expect(markup).toContain("h-28 w-52 max-w-full");
expect(markup).not.toContain("col-span-2");
expect(onAnchorReady).toHaveBeenCalledOnce();
expect(onAnchorReady).toHaveBeenCalledWith(firstEntry.message.id, 0);
});
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/chat/MessagesTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
className={cn(
"bg-background/70",
image.source?.kind === "snap-shot" && image.previewUrl
? SNAP_SHOT_ATTACHMENT_FRAME_CLASS
? cn(SNAP_SHOT_ATTACHMENT_FRAME_CLASS, "col-span-2")
: "aspect-[4/3] overflow-hidden rounded-lg border border-border/80",
)}
>
Expand Down
Loading