style: 優化規格 Tooltip 支援多行換行顯示
This commit is contained in:
@@ -142,7 +142,7 @@ export default function ProductTable({
|
||||
</TooltipTrigger>
|
||||
{product.specification && (
|
||||
<TooltipContent className="max-w-xs break-all">
|
||||
<p>{product.specification}</p>
|
||||
<p className="whitespace-pre-wrap">{product.specification}</p>
|
||||
</TooltipContent>
|
||||
)}
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user