fix: align detail query control heights
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-03-22 21:44:13 +08:00
parent 3449a1d82b
commit 1826cbf6b8

View File

@ -2426,13 +2426,13 @@ export function AgentGenerationWorkspaceDarkV2({
})
}
placeholder={`输入 SPU,查询任务整套中的${detailReferenceSourceLabel}参考图`}
className="min-h-[68px] resize-none rounded-[22px] border-white/10 bg-black/20 text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30"
className="min-h-[56px] resize-none rounded-[22px] border-white/10 bg-black/20 text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30"
/>
<Button
type="button"
onClick={handleDetailReplacementSearch}
disabled={detailReplacementSearchState.isLoading}
className="h-auto min-h-[68px] rounded-[22px] bg-white/[0.04] px-5 text-sm text-white hover:bg-white/[0.08]"
className="h-14 rounded-[22px] bg-white/[0.04] px-5 text-sm text-white hover:bg-white/[0.08]"
>
{detailReplacementSearchState.isLoading ? (
<>
@ -2448,7 +2448,7 @@ export function AgentGenerationWorkspaceDarkV2({
type="button"
variant="outline"
onClick={handleClearDetailReferenceCards}
className="h-auto min-h-[68px] rounded-[22px] border-white/10 bg-white/[0.03] px-5 text-sm text-white hover:bg-white/[0.08]"
className="h-14 rounded-[22px] border-white/10 bg-white/[0.03] px-5 text-sm text-white hover:bg-white/[0.08]"
>
清空参考图
</Button>
@ -2859,13 +2859,13 @@ export function AgentGenerationWorkspaceDarkV2({
})
}
placeholder={`输入${skuReplacementQueryType === "spu" ? "SPU" : "SKU"},查询任务整套中的${skuReferenceSourceLabel}参考图`}
className="min-h-[68px] resize-none rounded-[22px] border-white/10 bg-black/20 text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30"
className="min-h-[56px] resize-none rounded-[22px] border-white/10 bg-black/20 text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30"
/>
<Button
type="button"
onClick={handleSkuReplacementSearch}
disabled={skuReplacementSearchState.isLoading}
className="h-auto min-h-[68px] rounded-[22px] bg-white/[0.04] px-5 text-sm text-white hover:bg-white/[0.08]"
className="h-14 rounded-[22px] bg-white/[0.04] px-5 text-sm text-white hover:bg-white/[0.08]"
>
{skuReplacementSearchState.isLoading ? (
<>
@ -2881,7 +2881,7 @@ export function AgentGenerationWorkspaceDarkV2({
type="button"
variant="outline"
onClick={handleClearSkuReferenceCards}
className="h-auto min-h-[68px] rounded-[22px] border-white/10 bg-white/[0.03] px-5 text-sm text-white hover:bg-white/[0.08]"
className="h-14 rounded-[22px] border-white/10 bg-white/[0.03] px-5 text-sm text-white hover:bg-white/[0.08]"
>
清空参考图
</Button>