From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/chat/chat-with-history/sidebar/list.tsx | 34 ++++++++++++++++++++--------------
1 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/app/components/base/chat/chat-with-history/sidebar/list.tsx b/app/components/base/chat/chat-with-history/sidebar/list.tsx
index 4a9c207..a2a3e1f 100644
--- a/app/components/base/chat/chat-with-history/sidebar/list.tsx
+++ b/app/components/base/chat/chat-with-history/sidebar/list.tsx
@@ -19,20 +19,26 @@
currentConversationId,
}) => {
return (
- <div className='space-y-0.5'>
- {title && (
- <div className='system-xs-medium-uppercase px-3 pb-1 pt-2 text-text-tertiary'>{title}</div>
- )}
- {list.map(item => (
- <Item
- key={item.id}
- isPin={isPin}
- item={item}
- onOperate={onOperate}
- onChangeConversation={onChangeConversation}
- currentConversationId={currentConversationId}
- />
- ))}
+ <div>
+ {
+ title && (
+ <div className='mb-0.5 px-3 h-[26px] text-xs font-medium text-gray-500'>
+ {title}
+ </div>
+ )
+ }
+ {
+ list.map(item => (
+ <Item
+ key={item.id}
+ isPin={isPin}
+ item={item}
+ onOperate={onOperate}
+ onChangeConversation={onChangeConversation}
+ currentConversationId={currentConversationId}
+ />
+ ))
+ }
</div>
)
}
--
Gitblit v1.8.0