refactor(*): 用户工作台 - 统一画布、任务中心与设置页产品化交互

This commit is contained in:
ddCat committed 2026-08-14 23:44:55 +08:00
1 parent 4f28847543
commit d89a5a5b7b
29 files changed
+1662 -2067

No files matched your search

@@ -86,7 +86,7 @@ function VideoSettingsPortal({
const placeAbove = topPlacement ? topSpace >= estimatedHeight || topSpace >= bottomSpace : bottomSpace < estimatedHeight && topSpace > bottomSpace;
const style = {
position: "fixed",
zIndex: "var(--z-popover)",
zIndex: "var(--z-dialog-popover)",
width,
left: Math.max(margin, Math.min(window.innerWidth - width - margin, left)),
...(placeAbove ? { bottom: window.innerHeight - buttonRect.top + gap, maxHeight: Math.max(260, topSpace) } : { top: buttonRect.bottom + gap, maxHeight: Math.max(260, bottomSpace) }),