fix: improve property item display by adding truncation and tooltip for long values
This commit is contained in:
parent
853509dd2c
commit
6de16395b7
|
|
@ -103,7 +103,7 @@ function PropertyItem({ label, value }: { label: string; value: string }) {
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
<Label className="text-xs text-muted-foreground">{label}</Label>
|
<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>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue