fix: restore compact desktop chat empty state

This commit is contained in:
boos
2026-06-29 14:52:47 +08:00
parent 258f4c1a00
commit dfae8cdc80
2 changed files with 13 additions and 5 deletions
+2 -5
View File
@@ -4142,14 +4142,11 @@ export function ChatView() {
) : (
<div
className="flex flex-col items-center justify-center h-full"
style={{ gap: 8, padding: '0 24px', color: token.colorTextSecondary }}
style={{ padding: '0 24px', color: token.colorTextSecondary }}
>
<Typography.Title level={3} style={{ margin: 0, color: token.colorText }}>
<Typography.Title level={3} style={{ margin: 0, color: token.colorText, fontWeight: 500 }}>
{t('chat.welcome')}
</Typography.Title>
<Typography.Text type="secondary">
{t('chat.emptyPrompt', '输入消息开始对话,或在下方切换 Agent / 创作模式。')}
</Typography.Text>
</div>
)
) : (