fix: stretch conversion layer height
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -112,7 +112,7 @@ const SOURCE_LEFT_COLUMN_WIDTH = 380
|
|||||||
const SOURCE_VIDEO_HEIGHT = 500
|
const SOURCE_VIDEO_HEIGHT = 500
|
||||||
const SOURCE_TRANSCRIPT_MAX_HEIGHT = 270
|
const SOURCE_TRANSCRIPT_MAX_HEIGHT = 270
|
||||||
const SOURCE_REFERENCE_POOL_WIDTH = 140
|
const SOURCE_REFERENCE_POOL_WIDTH = 140
|
||||||
const SOURCE_CONVERSION_HEIGHT = 500
|
const SOURCE_CONVERSION_HEIGHT = 560
|
||||||
const SOURCE_SUBJECT_EMPTY_HEIGHT = 78
|
const SOURCE_SUBJECT_EMPTY_HEIGHT = 78
|
||||||
|
|
||||||
const resolveBoardScale = (viewportWidth: number) => {
|
const resolveBoardScale = (viewportWidth: number) => {
|
||||||
@@ -4074,10 +4074,10 @@ function SourceSubjectPipeline({
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<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 }}
|
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) => (
|
{SUBJECT_MODEL_BUNDLE_OPTIONS.map((option) => (
|
||||||
<button
|
<button
|
||||||
key={option.value}
|
key={option.value}
|
||||||
@@ -4097,7 +4097,7 @@ function SourceSubjectPipeline({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={`rounded-md border p-2 transition ${
|
className={`shrink-0 rounded-md border p-2 transition ${
|
||||||
agentDropActive || referenceFrameDragging || filmstripDragging || agentReferenceUploadBusy
|
agentDropActive || referenceFrameDragging || filmstripDragging || agentReferenceUploadBusy
|
||||||
? "border-cyan-200/65 bg-cyan-300/[0.08] ring-1 ring-cyan-200/25"
|
? "border-cyan-200/65 bg-cyan-300/[0.08] ring-1 ring-cyan-200/25"
|
||||||
: "border-white/10 bg-black/22"
|
: "border-white/10 bg-black/22"
|
||||||
@@ -4155,7 +4155,7 @@ function SourceSubjectPipeline({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{agentAnalysis ? (
|
{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">
|
<div className="flex items-center justify-between gap-2">
|
||||||
<span className="text-[10px] font-semibold text-emerald-50/76">识别结果</span>
|
<span className="text-[10px] font-semibold text-emerald-50/76">识别结果</span>
|
||||||
<span className="text-[9px] text-white/34">
|
<span className="text-[9px] text-white/34">
|
||||||
@@ -4206,7 +4206,7 @@ function SourceSubjectPipeline({
|
|||||||
</div>
|
</div>
|
||||||
) : null}
|
) : 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">
|
<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">
|
<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" />
|
<MessageSquare className="h-3.5 w-3.5 text-cyan-100/55" />
|
||||||
|
|||||||
Reference in New Issue
Block a user