style(ui): slim down generation placeholder card
This commit is contained in:
parent
e08fb4e4b5
commit
9c6beb3bd5
@ -55,7 +55,7 @@ export const ImageGenerationLoading = memo(
|
||||
data-role="assistant"
|
||||
data-testid="message-assistant-image-loading"
|
||||
>
|
||||
<div className="w-full max-w-[680px] space-y-2.5">
|
||||
<div className="w-full max-w-[560px] space-y-2.5">
|
||||
<div className="flex items-center gap-2 text-[13px] text-[#9aa3b2]">
|
||||
<ChevronDown className="h-4 w-4" />
|
||||
<span className="font-medium">开始生成</span>
|
||||
@ -69,7 +69,7 @@ export const ImageGenerationLoading = memo(
|
||||
<div
|
||||
className={cn(
|
||||
"relative overflow-hidden rounded-[22px] border border-[#e1e4ea] bg-[#eaedf2]",
|
||||
count === 1 ? "h-[420px] w-full max-w-[460px]" : "grid gap-3 p-3",
|
||||
count === 1 ? "h-[320px] w-full max-w-[340px]" : "grid gap-3 p-3",
|
||||
count > 1 && "grid-cols-2"
|
||||
)}
|
||||
>
|
||||
@ -82,7 +82,7 @@ export const ImageGenerationLoading = memo(
|
||||
Array.from({ length: count }).map((_, index) => (
|
||||
<div
|
||||
key={index}
|
||||
className="relative h-[180px] overflow-hidden rounded-2xl border border-[#dfe3e9] bg-[#e7ebf0]"
|
||||
className="relative h-[150px] overflow-hidden rounded-2xl border border-[#dfe3e9] bg-[#e7ebf0]"
|
||||
>
|
||||
<div className="absolute inset-0 bg-gradient-to-r from-[#e7ebf0] via-[#dce2ea] to-[#e7ebf0]" />
|
||||
<div
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user