fix: update transaction description and memo display for improved readability and layout consistency

This commit is contained in:
Julien Froidefond
2025-11-30 12:34:04 +01:00
parent ebf842cf6d
commit e087143675

View File

@@ -232,12 +232,12 @@ export function TransactionTable({
<div className="p-3 text-sm text-muted-foreground whitespace-nowrap"> <div className="p-3 text-sm text-muted-foreground whitespace-nowrap">
{formatDate(transaction.date)} {formatDate(transaction.date)}
</div> </div>
<div className="p-3"> <div className="p-3 min-w-0 overflow-hidden">
<p className="font-medium text-sm"> <p className="font-medium text-sm truncate">
{transaction.description} {transaction.description}
</p> </p>
{transaction.memo && ( {transaction.memo && (
<p className="text-xs text-muted-foreground truncate max-w-[300px]"> <p className="text-xs text-muted-foreground truncate">
{transaction.memo} {transaction.memo}
</p> </p>
)} )}