fix: stretch conversion layer height

This commit is contained in:
2026-05-20 21:51:43 +08:00
parent f1137cc006
commit 54f159b6ef
2 changed files with 21 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ const SOURCE_LEFT_COLUMN_WIDTH = 380
const SOURCE_VIDEO_HEIGHT = 500
const SOURCE_TRANSCRIPT_MAX_HEIGHT = 270
const SOURCE_REFERENCE_POOL_WIDTH = 140
const SOURCE_CONVERSION_HEIGHT = 500
const SOURCE_CONVERSION_HEIGHT = 560
const SOURCE_SUBJECT_EMPTY_HEIGHT = 78
const resolveBoardScale = (viewportWidth: number) => {
@@ -4074,10 +4074,10 @@ function SourceSubjectPipeline({
</span>
</div>
<div
className="flex flex-col overflow-y-auto rounded-md border border-white/10 bg-black/24 p-2"
className="flex flex-col gap-2 overflow-y-auto rounded-md border border-white/10 bg-black/24 p-2"
style={{ height: SOURCE_CONVERSION_HEIGHT }}
>
<div className="mb-2 grid grid-cols-2 gap-1.5">
<div className="grid shrink-0 grid-cols-2 gap-1.5">
{SUBJECT_MODEL_BUNDLE_OPTIONS.map((option) => (
<button
key={option.value}
@@ -4097,7 +4097,7 @@ function SourceSubjectPipeline({
</div>
<div
className={`rounded-md border p-2 transition ${
className={`shrink-0 rounded-md border p-2 transition ${
agentDropActive || referenceFrameDragging || filmstripDragging || agentReferenceUploadBusy
? "border-cyan-200/65 bg-cyan-300/[0.08] ring-1 ring-cyan-200/25"
: "border-white/10 bg-black/22"
@@ -4155,7 +4155,7 @@ function SourceSubjectPipeline({
</div>
{agentAnalysis ? (
<div className="mt-2 rounded-md border border-emerald-200/18 bg-emerald-300/[0.055] p-2">
<div className="shrink-0 rounded-md border border-emerald-200/18 bg-emerald-300/[0.055] p-2">
<div className="flex items-center justify-between gap-2">
<span className="text-[10px] font-semibold text-emerald-50/76"></span>
<span className="text-[9px] text-white/34">
@@ -4206,7 +4206,7 @@ function SourceSubjectPipeline({
</div>
) : null}
<div className="mt-2 flex min-h-0 flex-1 flex-col rounded-md border border-white/10 bg-black/22 p-2">
<div className="flex shrink-0 flex-col rounded-md border border-white/10 bg-black/22 p-2">
<div className="mb-1.5 flex items-center justify-between gap-2">
<span className="inline-flex items-center gap-1 text-[10px] font-semibold text-white/72">
<MessageSquare className="h-3.5 w-3.5 text-cyan-100/55" />