Skip to content

🎥 Make videos programmatically with React

fix: clip looped tracks that are too wide

Marcus Stenbeckf225c3b4f485
diff --git a/packages/cli/src/editor/components/Timeline/TimelineTracks.tsx b/packages/cli/src/editor/components/Timeline/TimelineTracks.tsx
index ee27ad47ca..1f90509956 100644
--- a/packages/cli/src/editor/components/Timeline/TimelineTracks.tsx
+++ b/packages/cli/src/editor/components/Timeline/TimelineTracks.tsx
@@ -32,6 +32,8 @@ export const TimelineTracks: React.FC<{
const inner: React.CSSProperties = useMemo(() => {
return {
height: TIMELINE_LAYER_HEIGHT + TIMELINE_BORDER * 2,
+ position: 'relative',
+ overflow: 'hidden',
};
}, []);