From f2f24a0a5cedecb810f71326127f56bc1c01f901 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Tue, 31 Mar 2026 07:45:32 +1300 Subject: [PATCH] fix: match VideoInputNode styling to ImageInputNode full-bleed pattern Co-Authored-By: Claude Opus 4.6 --- src/components/nodes/VideoInputNode.tsx | 62 +++++++------------------ 1 file changed, 16 insertions(+), 46 deletions(-) diff --git a/src/components/nodes/VideoInputNode.tsx b/src/components/nodes/VideoInputNode.tsx index b2861e2e..10b0f9f6 100644 --- a/src/components/nodes/VideoInputNode.tsx +++ b/src/components/nodes/VideoInputNode.tsx @@ -13,12 +13,6 @@ const MAX_FILE_SIZE = 200 * 1024 * 1024; // 200MB const ACCEPTED_FORMATS = "video/mp4,video/webm,video/quicktime"; const ACCEPTED_MIME_TYPES = ACCEPTED_FORMATS.split(","); -function formatDuration(seconds: number): string { - const mins = Math.floor(seconds / 60); - const secs = Math.floor(seconds % 60); - return `${mins}:${secs.toString().padStart(2, "0")}`; -} - export function VideoInputNode({ id, data, selected }: NodeProps) { const nodeData = data; const updateNodeData = useWorkflowStore((state) => state.updateNodeData); @@ -119,8 +113,9 @@ export function VideoInputNode({ id, data, selected }: NodeProps {nodeData.video ? ( -
+
+
)}