authorgravatar for maria@kuuro.netmaria <maria@kuuro.net> 2026-09-09 23:25:23-03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-09 23:25:23-03:00
log385cc0a4c669aeae786ad47bfe3ecbbc352eff24
tree25790b415ab8760f5f72db985389b60faf2d3c75
parentaddfb1390eea5e850fb5e235525f9eb6c4ade100
signature Signed by PGP key B5690EEEBB952194

fix(web): show message copy buttons on touch devices (#11020)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

1 files changed, 2 insertions(+), 2 deletions(-)

apps/web/src/components/chat/MessagesTimeline.tsx+2-2
...@@ -1582,7 +1582,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"...@@ -1582,7 +1582,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
1582 markdownCwd={ctx.markdownCwd}1582 markdownCwd={ctx.markdownCwd}
1583 />1583 />
1584 </div>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">1586 <div className="flex shrink-0 items-center gap-2">
1587 <Tooltip>1587 <Tooltip>
1588 <TooltipTrigger render={<p className="text-muted-foreground text-xs tabular-nums" />}>1588 <TooltipTrigger render={<p className="text-muted-foreground text-xs tabular-nums" />}>
...@@ -1734,7 +1734,7 @@ function AssistantMessageMeta({...@@ -1734,7 +1734,7 @@ function AssistantMessageMeta({
1734 "flex items-center gap-2 text-xs tabular-nums transition-opacity duration-200",1734 "flex items-center gap-2 text-xs tabular-nums transition-opacity duration-200",
1735 alwaysVisible1735 alwaysVisible
1736 ? "opacity-100"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,1738 className,
1739 )}1739 )}
1740 >1740 >