The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 08:15 UTC
perf(web): render minimap highlights without extra nodes (#28270)
Yuruzuu committed
Nov 1, 2026 at 10:50 UTC
35df72f26864bd120102ce91cad66affbe8ba89c
1 file changed
+2
-4
apps/web/src/components/chat/TimelineMinimap.tsx
+2
-4
@@ -217,7 +217,7 @@ export function TimelineMinimap({
217
<span
218
aria-hidden="true"
219
className={cn(
220
- "group/strip pointer-events-none absolute left-0 h-0.5 w-6 origin-left -translate-y-1/2 rounded-full transition-transform duration-150",
220
+ "pointer-events-none absolute left-0 h-0.5 w-6 origin-left -translate-y-1/2 rounded-full transition-transform duration-150 after:absolute after:inset-0 after:rounded-full after:bg-foreground/55 after:opacity-0 after:transition-opacity after:duration-150 data-[in-view=true]:after:opacity-100",
221
activeDistance === 0 ? "bg-muted-foreground/60" : "bg-muted-foreground/25",
222
activeDistance === 0
223
? "scale-x-100"
@@ -238,9 +238,7 @@ export function TimelineMinimap({
238
}
239
}}
240
style={{ top }}
241
- >
242
- <span className="absolute inset-0 rounded-full bg-foreground/55 opacity-0 transition-opacity duration-150 group-data-[in-view=true]/strip:opacity-100" />
243
- </span>
241
+ />
242
);
243
})}
244
{activeItem ? (