feat(i18n): 优化国际化文案并调整 UI 样式
- 修改系统重置文案为清除最近对话 - 优化历史记录列表样式,增加截断显示 - 调整卡片阴影样式 - 在头部增加收藏、分享和消息的 Tooltip 提示
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user