The best way to control Claude Code, Codex and more from any computer or phone
fix(web): keep tool timestamps before disclosure chevrons (#12152)
Yash Singh committed
Sep 16, 2026 at 17:44 UTC
ed123897943e9175d4a0e92a5a8a09d200573336
1 file changed
+3
-3
apps/web/src/components/chat/MessagesTimeline.tsx
+3
-3
@@ -2114,8 +2114,8 @@ function RevertUserMessageButton({
2114
* carries `group/timeline-row`; hover or focus on an existing control reveals
2115
* the time without adding a tab stop. Hidden timestamps stay outside the row
2116
* layout. Visibility changes immediately so leaving flow cannot overlap text
2117
- * during a fade-out. Render it as the row's rightmost flex child so the
2118
- * revealed time lands at the right edge, clear of disclosure controls.
2117
+ * during a fade-out. Place it before any trailing disclosure control so
2118
+ * revealing the time does not move the chevron.
2119
*/
2120
function TimelineRowTimestamp({
2121
createdAt,
@@ -4677,6 +4677,7 @@ const PlainWorkEntryRow = memo(function PlainWorkEntryRow(props: {
4677
!toolIconAcceptsTint(entryIconName, entryToolIcon) ? (
4678
<XIcon aria-hidden className={cn("size-3 shrink-0", failedToolIconClassName)} />
4679
) : null}
4680
+ <TimelineRowTimestamp createdAt={workEntry.createdAt} timestampFormat={timestampFormat} />
4681
<span
4682
className={cn(
4683
"flex size-4 shrink-0 items-center justify-center",
@@ -4691,7 +4692,6 @@ const PlainWorkEntryRow = memo(function PlainWorkEntryRow(props: {
4692
)}
4693
/>
4694
</span>
4694
- <TimelineRowTimestamp createdAt={workEntry.createdAt} timestampFormat={timestampFormat} />
4695
</div>
4696
</div>
4697
{expanded && viewedImage && threadRef ? (