The open-source CapCut alternative
fix(timeline): update drag overlay styling for better visibility
Maze Winther5fc205fc57a9
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsxindex 76f1bf83..12907738 100644--- a/apps/web/src/components/editor/timeline.tsx+++ b/apps/web/src/components/editor/timeline.tsx@@ -568,8 +568,8 @@ export function Timeline() {>{/* Show overlay when dragging media over the timeline */}{isDragOver && (- <div className="absolute inset-0 z-20 flex items-center justify-center pointer-events-none">- <div className="bg-accent/80 text-accent-foreground px-8 py-4 rounded-lg shadow-lg text-lg font-semibold border border-accent">+ <div className="absolute inset-0 z-20 flex items-center justify-center pointer-events-none backdrop-blur-lg">+ <div>Drop media here to add to timeline</div></div>