Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): hovering an expanded command row no longer shifts its text #12614

Closedatharvadeosthale(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/12614/headopened View on GitHub

Showing 1 changed file with 5 additions and 1 deletion.

x
0 of 1 viewed, 1 left
5 additions and 1 deletionapps/web/src/components/chat/MessagesTimeline.tsxModified
View file
@@ -5198,7 +5198,11 @@
!toolIconAcceptsTint(entryIconName, entryToolIcon) ? (
<XIcon aria-hidden className={cn("size-3 shrink-0", failedToolIconClassName)} />
) : null}
- <TimelineRowTimestamp createdAt={workEntry.createdAt} timestampFormat={timestampFormat} />
+ <TimelineRowTimestamp
+ createdAt={workEntry.createdAt}
+ timestampFormat={timestampFormat}
+ className={expanded ? "static" : undefined}
+ />
<span
className={cn(
"flex size-4 shrink-0 items-center justify-center",