优化文字溢出样式

This commit is contained in:
2025-05-12 22:24:23 +08:00
parent ee4feb57c5
commit 92a3510547

View File

@@ -53,9 +53,9 @@ export default function ResourceTable({ resources, errorMessage, onRefresh }: Re
</TooltipProvider>
</TableCell>
<TableCell>{resource.title}</TableCell>
<TableCell>{resource.description}</TableCell>
<TableCell>{resource.imageUrl}</TableCell>
<TableCell>{resource.link}</TableCell>
<TableCell className="whitespace-normal break-words">{resource.description}</TableCell>
<TableCell className="whitespace-normal break-words">{resource.imageUrl}</TableCell>
<TableCell className="whitespace-normal break-words">{resource.link}</TableCell>
<TableCell>
<div className="flex flex-wrap gap-1">
{resource.tags.map((tag, index) => (