feat(i18n): 优化国际化文案并调整 UI 样式

- 修改系统重置文案为清除最近对话
- 优化历史记录列表样式,增加截断显示
- 调整卡片阴影样式
- 在头部增加收藏、分享和消息的 Tooltip 提示
This commit is contained in:
zhaoweijie
2025-08-23 20:39:40 +08:00
parent 50af75d347
commit a9d1f1a94f
5 changed files with 32 additions and 25 deletions

View File

@@ -73,11 +73,11 @@ export const PlaygroundHistory = () => {
return {
key: item.id,
label: (
<div className="flex items-center gap-2">
<div className="flex items-center gap-2 truncate w-full">
<p className="w-5 h-5 [&_.ant-avatar]:!w-full [&_.ant-avatar]:!h-full [&_.ant-avatar]:relative [&_.ant-avatar]:-top-3">
{item.icon}
</p>
<span title={item.title}>{item.title}</span>
<span className="flex-1 truncate" title={item.title}>{item.title}</span>
</div>
)
}

View File

@@ -350,7 +350,7 @@ export const PlaygroundIodRelevant: React.FC<Props> = ({ className }) => {
<Card
hoverable
variant="outlined"
className={`${className} translate-y-[-2px] !bg-[#d0e6ff] !shadow-md`}>
className={`${className} translate-y-[-2px] !bg-[#d0e6ff] shadow-md`}>
<div className="h-full flex flex-col relative">
{/* 花瓣效果 */}
<div