Remove overlapping video canvas badge
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-04-05 02:35:52 +08:00
parent f6b9a6f73b
commit b62c97dcde

View File

@ -418,8 +418,6 @@ const AGENT_RESULT_MODE_LABELS: Record<AgentGenerationResultModeType, string> =
detail_replacement: "细节替换",
sku_replacement: "SKU 替换",
};
const VIDEO_CANVAS_FLOATING_PILL_CLASS =
"rounded-full border border-border/60 bg-background/95 px-3.5 py-1.5 text-xs font-medium text-foreground shadow-sm backdrop-blur-xl supports-[backdrop-filter]:bg-background/80";
const VIDEO_CANVAS_PANEL_CLASS =
"pointer-events-auto overflow-hidden rounded-[28px] border border-border/60 bg-background/94 shadow-2xl backdrop-blur-xl supports-[backdrop-filter]:bg-background/80";
const VIDEO_CANVAS_PANEL_BADGE_CLASS =
@ -7087,14 +7085,6 @@ export default function CanvasEditorPage({ params }: PageProps) {
/>
</div>
{isVideoMode ? (
<div className="pointer-events-none absolute left-4 top-4 z-20">
<div className={VIDEO_CANVAS_FLOATING_PILL_CLASS}>
视频画布
</div>
</div>
) : null}
{isVideoMode &&
selectedVideoWorkflowDefinition &&
(selectedVideoWorkflowQuickConnects.length > 0 || selectedWorkflowIsActionable) ? (