fix: remove fixed 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_TRANSCRIPT_MAX_HEIGHT = 270
|
||||
const SOURCE_REFERENCE_POOL_WIDTH = 140
|
||||
const SOURCE_CONVERSION_HEIGHT = 640
|
||||
const SOURCE_CONVERSION_MAX_HEIGHT = 560
|
||||
const SOURCE_SUBJECT_EMPTY_HEIGHT = 78
|
||||
|
||||
const resolveBoardScale = (viewportWidth: number) => {
|
||||
@@ -4004,7 +4004,7 @@ function SourceSubjectPipeline({
|
||||
<span>{frames.length} 张</span>
|
||||
<span>{filmstripDragging ? "松手加入" : "点击选择"}</span>
|
||||
</div>
|
||||
<div className="flex flex-col gap-1 overflow-y-auto pr-0.5" style={{ maxHeight: SOURCE_CONVERSION_HEIGHT }}>
|
||||
<div className="flex flex-col gap-1 overflow-y-auto pr-0.5" style={{ maxHeight: SOURCE_CONVERSION_MAX_HEIGHT }}>
|
||||
{frames.map((frame, index) => {
|
||||
const selected = selectedFrames.has(frame.index)
|
||||
return (
|
||||
@@ -4071,7 +4071,7 @@ function SourceSubjectPipeline({
|
||||
</div>
|
||||
<div
|
||||
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={{ maxHeight: SOURCE_CONVERSION_MAX_HEIGHT }}
|
||||
>
|
||||
<div className="grid shrink-0 grid-cols-2 gap-1.5">
|
||||
{SUBJECT_MODEL_BUNDLE_OPTIONS.map((option) => (
|
||||
@@ -4224,7 +4224,7 @@ function SourceSubjectPipeline({
|
||||
value={agentInput}
|
||||
onChange={(event) => setAgentInput(event.target.value)}
|
||||
placeholder="直接写要怎么生成,或补充要改什么。"
|
||||
className="h-40 w-full resize-none rounded border border-transparent bg-transparent px-2 py-2 text-[11px] leading-relaxed text-white outline-none transition placeholder:text-white/24 focus:border-cyan-200/45"
|
||||
className="h-32 w-full resize-none rounded border border-transparent bg-transparent px-2 py-2 text-[11px] leading-relaxed text-white outline-none transition placeholder:text-white/24 focus:border-cyan-200/45"
|
||||
/>
|
||||
<div className="mt-2 flex items-center gap-2">
|
||||
<div className="flex h-10 shrink-0 items-center overflow-hidden rounded-md border border-white/10 bg-black/35">
|
||||
|
||||
Reference in New Issue
Block a user