Skip to content

Open source CapCut alternative.

TypeScript

fix(site): filmstrip skeleton pulses over the page color

David Le18dcee51d654
diff --git a/site/src/cut/components/Timeline.tsx b/site/src/cut/components/Timeline.tsx
index c8a647fd..8a0edaff 100644
--- a/site/src/cut/components/Timeline.tsx
+++ b/site/src/cut/components/Timeline.tsx
@@ -4102,8 +4102,12 @@ function Filmstrip({
<div className="tl-filmstrip-failed pointer-events-none absolute inset-0 bg-accent" />
);
}
+ // The clip box under the strip is black; a backdrop in the page color
+ // keeps the pulse between accent and background, the stock skeleton look.
return (
- <Skeleton className="tl-filmstrip-skeleton pointer-events-none absolute inset-0 rounded-none" />
+ <div className="tl-filmstrip-skeleton pointer-events-none absolute inset-0 bg-background">
+ <Skeleton className="size-full rounded-none" />
+ </div>
);
}
return (