fix: unlock detail reference preview layout
This commit is contained in:
parent
4d1d973437
commit
47df3b644c
@ -2249,7 +2249,10 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
|
|
||||||
<motion.section
|
<motion.section
|
||||||
id="agent-anchor-results"
|
id="agent-anchor-results"
|
||||||
className="relative flex min-h-[620px] 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={cn(
|
||||||
|
"relative flex min-h-[620px] flex-col rounded-[28px] border border-white/12 bg-white/[0.04] shadow-[inset_0_1px_0_rgba(255,255,255,0.03)]",
|
||||||
|
isDetailReplacementPreset ? "overflow-visible" : "overflow-hidden"
|
||||||
|
)}
|
||||||
initial={{ opacity: 0, scale: 0.98 }}
|
initial={{ opacity: 0, scale: 0.98 }}
|
||||||
animate={{ opacity: 1, scale: 1 }}
|
animate={{ opacity: 1, scale: 1 }}
|
||||||
transition={{ delay: 0.12 }}
|
transition={{ delay: 0.12 }}
|
||||||
@ -2569,9 +2572,7 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{isSelected ? (
|
{isSelected ? (
|
||||||
<div className="absolute right-4 top-4 rounded-full border border-emerald-300/35 bg-emerald-500/[0.14] px-2.5 py-1 text-[11px] text-emerald-100">
|
<div className="absolute right-4 top-4 h-3 w-3 rounded-full bg-emerald-400 shadow-[0_0_0_4px_rgba(16,185,129,0.18),0_0_18px_rgba(52,211,153,0.45)]" />
|
||||||
当前使用
|
|
||||||
</div>
|
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
@ -2581,7 +2582,7 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
<div className="agent-dark-scrollbar grid max-h-[620px] grid-cols-1 gap-3 overflow-y-auto pr-1">
|
<div className="grid grid-cols-1 gap-3">
|
||||||
{detailReplacementReferenceCards.length > 0 ? (
|
{detailReplacementReferenceCards.length > 0 ? (
|
||||||
detailReplacementReferenceCards.map((card, index) => (
|
detailReplacementReferenceCards.map((card, index) => (
|
||||||
(() => {
|
(() => {
|
||||||
@ -2659,7 +2660,7 @@ export function AgentGenerationWorkspaceDarkV2({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="agent-dark-scrollbar grid max-h-[720px] grid-cols-1 gap-3 overflow-y-auto pr-1">
|
<div className="grid grid-cols-1 gap-3">
|
||||||
{detailResultCards.length > 0 ? (
|
{detailResultCards.length > 0 ? (
|
||||||
detailResultCards.map((card) => (
|
detailResultCards.map((card) => (
|
||||||
(() => {
|
(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user