@devries-cameron20 / t3code-1 / commits / 5015d7cf9f
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): keep turn minimap stable as composer grows (#6414)

Exotic committed Aug 13, 2026 at 13:00 UTC 5015d7cf9f98fe551115b625031f01e3f022cd2d
1 file changed +1 -7
apps/web/src/components/chat/MessagesTimeline.tsx
+1 -7
@@ -610,7 +610,6 @@ export const MessagesTimeline = memo(function MessagesTimeline({
610 />
611 <TimelineMinimap
612 items={minimapItems}
613 - bottomInset={contentInsetEndAdjustment}
613 hasPersistentGutter={minimapHasPersistentGutter}
614 hitStripWidth={minimapHitStripWidth}
615 stripMap={minimapStripMap}
@@ -712,14 +711,12 @@ function timelineMinimapEventTargetsPreview(target: EventTarget): boolean {
711 }
712
713 function TimelineMinimap({
715 - bottomInset,
714 hasPersistentGutter,
715 hitStripWidth,
716 items,
717 stripMap,
718 onSelect,
719 }: {
722 - bottomInset: number;
720 hasPersistentGutter: boolean;
721 hitStripWidth: number;
722 items: ReadonlyArray<TimelineMinimapItem>;
@@ -779,19 +776,16 @@ function TimelineMinimap({
776 return null;
777 }
778
782 - const safeBottomInset = Math.max(0, Math.ceil(bottomInset));
783 -
779 return (
780 <div
781 className={cn(
787 - "group/minimap pointer-events-none absolute top-0 left-0 z-40 hidden w-18 [@media(pointer:fine)]:block",
782 + "group/minimap pointer-events-none absolute inset-y-0 left-0 z-40 hidden w-18 [@media(pointer:fine)]:block",
783 hasPersistentGutter
784 ? "opacity-100"
785 : "opacity-0 transition-opacity duration-150 hover:opacity-100 focus-within:opacity-100",
786 )}
787 data-testid="timeline-minimap"
788 data-persistent-gutter={hasPersistentGutter ? "true" : "false"}
794 - style={{ bottom: safeBottomInset }}
789 >
790 <div className="relative h-full w-full select-none">
791 <button