fix: improve property item display by adding truncation and tooltip for long values

This commit is contained in:
ayush18pop 2025-07-22 16:08:41 +05:30
parent 853509dd2c
commit 6de16395b7
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function PropertyItem({ label, value }: { label: string; value: string }) {
return (
<div className="flex justify-between">
<Label className="text-xs text-muted-foreground">{label}</Label>
<span className="text-xs text-right">{value}</span>
<span className="text-xs text-right truncate overflow-hidden whitespace-nowrap w-40" title={value}>{value}</span>
</div>
);
}