Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Frames strip: the ruler's last time label stays on one line

Claudea42c24e2756d
diff --git a/src/components/studio/frames-strip.tsx b/src/components/studio/frames-strip.tsx
index 244d1701..6814bcc3 100644
--- a/src/components/studio/frames-strip.tsx
+++ b/src/components/studio/frames-strip.tsx
@@ -313,7 +313,7 @@ function Ruler({ frames, times, duration, onMove }: { frames: FrameAttachment<Sl
</div>
<div aria-hidden className="relative h-3.5 text-[10px] text-subtle-foreground tabular-nums">
{labels.map((t, k) => (
- <span key={t} className={cn("absolute top-0", k === 0 ? "" : t === duration ? "-translate-x-full" : "-translate-x-1/2")} style={{ left: pct(t, duration) }}>
+ <span key={t} className={cn("absolute top-0 whitespace-nowrap", k === 0 ? "" : t === duration ? "-translate-x-full" : "-translate-x-1/2")} style={{ left: pct(t, duration) }}>
{secondsLabel(t)}
</span>
))}