Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix(web): keep turn minimap stable as composer grows (#6414)
Exotic5015d7cf9f98
diff --git a/apps/web/src/components/chat/MessagesTimeline.tsx b/apps/web/src/components/chat/MessagesTimeline.tsxindex c6e28dcef..9cd1c78aa 100644--- a/apps/web/src/components/chat/MessagesTimeline.tsx+++ b/apps/web/src/components/chat/MessagesTimeline.tsx@@ -610,7 +610,6 @@ export const MessagesTimeline = memo(function MessagesTimeline({/><TimelineMinimapitems={minimapItems}- bottomInset={contentInsetEndAdjustment}hasPersistentGutter={minimapHasPersistentGutter}hitStripWidth={minimapHitStripWidth}stripMap={minimapStripMap}@@ -712,14 +711,12 @@ function timelineMinimapEventTargetsPreview(target: EventTarget): boolean {}function TimelineMinimap({- bottomInset,hasPersistentGutter,hitStripWidth,items,stripMap,onSelect,}: {- bottomInset: number;hasPersistentGutter: boolean;hitStripWidth: number;items: ReadonlyArray<TimelineMinimapItem>;@@ -779,19 +776,16 @@ function TimelineMinimap({return null;}- const safeBottomInset = Math.max(0, Math.ceil(bottomInset));-return (<divclassName={cn(- "group/minimap pointer-events-none absolute top-0 left-0 z-40 hidden w-18 [@media(pointer:fine)]:block",+ "group/minimap pointer-events-none absolute inset-y-0 left-0 z-40 hidden w-18 [@media(pointer:fine)]:block",hasPersistentGutter? "opacity-100": "opacity-0 transition-opacity duration-150 hover:opacity-100 focus-within:opacity-100",)}data-testid="timeline-minimap"data-persistent-gutter={hasPersistentGutter ? "true" : "false"}- style={{ bottom: safeBottomInset }}><div className="relative h-full w-full select-none"><button