fix: 修复文本自动换行问题

This commit is contained in:
Montia37
2025-08-16 00:38:17 +08:00
parent 33ceb72bcb
commit 235926be21
2 changed files with 5 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ export const NodeCard = ({ node }: NodeCardProps) => {
</div>
</Link>
</CardHeader>
<CardContent className="flex-grow space-y-3 text-sm">
<CardContent className="flex-grow space-y-3 text-sm text-nowrap">
<div className="flex flex-wrap gap-1">
<Tag tags={tagList} />
</div>
@@ -158,7 +158,7 @@ export const NodeCard = ({ node }: NodeCardProps) => {
/>
)}
</div>
<div className="w-3/4 text-right text-nowrap">
<div className="w-3/4 text-right">
<div>
<span>
{stats ? formatBytes(stats.network.totalUp) : "N/A"}