The best way to control Claude Code, Codex and more from any computer or phone
fix(web): show message copy buttons on touch devices (#11020)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
maria committed
Sep 9, 2026 at 23:25 UTC
385cc0a4c669aeae786ad47bfe3ecbbc352eff24
1 file changed
+2
-2
apps/web/src/components/chat/MessagesTimeline.tsx
+2
-2
@@ -1582,7 +1582,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
1582
markdownCwd={ctx.markdownCwd}
1583
/>
1584
</div>
1585
- <div className="flex w-full max-w-[80%] items-center justify-end pe-1 text-xs tabular-nums opacity-0 transition-opacity duration-200 focus-within:opacity-100 group-hover:opacity-100">
1585
+ <div className="flex w-full max-w-[80%] items-center justify-end pe-1 text-xs tabular-nums opacity-0 transition-opacity duration-200 pointer-coarse:opacity-100 focus-within:opacity-100 group-hover:opacity-100">
1586
<div className="flex shrink-0 items-center gap-2">
1587
<Tooltip>
1588
<TooltipTrigger render={<p className="text-muted-foreground text-xs tabular-nums" />}>
@@ -1734,7 +1734,7 @@ function AssistantMessageMeta({
1734
"flex items-center gap-2 text-xs tabular-nums transition-opacity duration-200",
1735
alwaysVisible
1736
? "opacity-100"
1737
- : "opacity-0 focus-within:opacity-100 group-hover/assistant:opacity-100",
1737
+ : "opacity-0 pointer-coarse:opacity-100 focus-within:opacity-100 group-hover/assistant:opacity-100",
1738
className,
1739
)}
1740
>