From a1778e89905282a200a2cb522100a0d7cfe7c957 Mon Sep 17 00:00:00 2001 From: Autumn-27 <53844290+Autumn-27@users.noreply.github.com> Date: Sun, 26 Jul 2026 06:30:03 -0400 Subject: [PATCH] =?UTF-8?q?fix(chat):=20=E4=BC=9A=E8=AF=9D=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=95=BF=E6=A0=87=E9=A2=98=E6=BA=A2=E5=87=BA=E9=81=AE?= =?UTF-8?q?=E6=8C=A1=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 会话行/第二行加 min-w-0,agent 名可截断 - ScrollArea 视口覆盖 display:table([&_[data-slot=scroll-area-viewport]>div]:block!),消除横向撑开 Co-Authored-By: Claude Opus 4.8 (1M context) --- web/src/app/(main)/chat/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/app/(main)/chat/page.tsx b/web/src/app/(main)/chat/page.tsx index 3907a8b..179e021 100644 --- a/web/src/app/(main)/chat/page.tsx +++ b/web/src/app/(main)/chat/page.tsx @@ -566,7 +566,7 @@ function ConversationItem({ return (
@@ -591,9 +591,9 @@ function ConversationItem({ className="min-w-0 flex-1 rounded-md px-2 py-1.5 text-left" >
{conv.title || "新对话"}
-
+
- {agent?.name ?? conv.agent_key} + {agent?.name ?? conv.agent_key} · {new Date(conv.created_at).toLocaleDateString("zh-CN", { month: "numeric", day: "numeric", hour: "2-digit", minute: "2-digit" })} #{conv.id} @@ -688,8 +688,8 @@ export default function ChatPage() { 新建对话
- -
+ +
{convs.length === 0 && (

暂无对话

)}