fix: 预览面板容器高度塌陷 — CSS加高度约束 + 预览区加minHeight/背景 #1493

Merged
auto-approve-bot merged 1 commits from fix/preview-layout-height into develop 2026-08-25 12:06:00 +08:00
2 changed files with 14 additions and 1 deletions
@@ -343,7 +343,17 @@ const FrontendPreviewPlayer: React.FC<FrontendPreviewPlayerProps> = ({
}
return (
<div style={{ position: "relative", width: "100%", height: "100%" }}>
<div
style={{
position: "relative",
width: "100%",
height: "100%",
minHeight: 400,
background: "#000",
borderRadius: 8,
overflow: "hidden",
}}
>
{/* ── Canvas 渲染层(WebCodecs 路径) ── */}
{effectiveUseWebCodecs && (
<div
+3
View File
@@ -111,6 +111,7 @@
grid-template-columns: 1fr 320px;
gap: 24px;
align-items: start;
min-height: 500px;
}
/* ============================================================
@@ -2526,6 +2527,8 @@
display: flex;
flex-direction: column;
gap: 16px;
height: 100%;
min-height: 500px;
}
.xx-preview-header {