refactor: 优化 Dashboard 布局及 ToolCard 描述文本截断处理

This commit is contained in:
雨霖铃
2026-05-22 22:37:45 +08:00
parent 7e58b5688f
commit 539f9648b1
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export default function ToolCard({
{title}
</h4>
{description && (
<p className="text-[11px] font-medium text-muted-foreground/90 mt-0.5 leading-normal break-words">
<p className="text-[11px] font-medium text-muted-foreground/90 mt-0.5 leading-normal w-full truncate">
{description}
</p>
)}