fix: restore agent generation page scrolling
This commit is contained in:
parent
c0a8934c30
commit
370a0055b7
@ -549,8 +549,8 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{/* Main Content */}
|
{/* Main Content */}
|
||||||
<main className="flex-1 overflow-y-auto overscroll-contain pt-16 lg:overflow-hidden">
|
<main className="flex-1 overflow-y-auto overscroll-contain pt-16">
|
||||||
<div className="mx-auto flex min-h-full max-w-[1480px] flex-col gap-6 px-6 py-6 lg:h-full lg:px-8 xl:px-10">
|
<div className="mx-auto flex w-full max-w-[1480px] flex-col gap-6 px-6 py-6 pb-24 lg:px-8 xl:px-10">
|
||||||
{shouldShowFullWidthPresetPanel ? (
|
{shouldShowFullWidthPresetPanel ? (
|
||||||
<motion.section
|
<motion.section
|
||||||
initial={{ opacity: 0, y: 20 }}
|
initial={{ opacity: 0, y: 20 }}
|
||||||
@ -574,9 +574,9 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
</motion.section>
|
</motion.section>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
<div className="grid min-h-0 flex-1 grid-cols-1 gap-6 lg:grid-cols-[400px_minmax(0,1fr)]">
|
<div className="grid grid-cols-1 items-start gap-6 lg:grid-cols-[400px_minmax(0,1fr)]">
|
||||||
{/* Left Panel - Controls */}
|
{/* Left Panel - Controls */}
|
||||||
<div className="agent-dark-scrollbar min-h-0 space-y-4 lg:h-full lg:overflow-y-auto lg:pr-2">
|
<div className="space-y-4 lg:pr-2">
|
||||||
{/* 嵌入的智能体选择面板 */}
|
{/* 嵌入的智能体选择面板 */}
|
||||||
{!shouldShowFullWidthPresetPanel && !selectedAgentPreset && presetPanel && (
|
{!shouldShowFullWidthPresetPanel && !selectedAgentPreset && presetPanel && (
|
||||||
<motion.div
|
<motion.div
|
||||||
@ -811,7 +811,7 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Right Panel - Results */}
|
{/* Right Panel - Results */}
|
||||||
<div className="flex min-h-0 flex-col">
|
<div className="flex flex-col lg:sticky lg:top-6">
|
||||||
<motion.div
|
<motion.div
|
||||||
className="relative flex min-h-[500px] flex-1 flex-col overflow-hidden rounded-[28px] border border-white/12 bg-white/[0.04] shadow-[inset_0_1px_0_rgba(255,255,255,0.03)]"
|
className="relative flex min-h-[500px] flex-1 flex-col overflow-hidden rounded-[28px] border border-white/12 bg-white/[0.04] shadow-[inset_0_1px_0_rgba(255,255,255,0.03)]"
|
||||||
initial={{ opacity: 0, scale: 0.98 }}
|
initial={{ opacity: 0, scale: 0.98 }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user