fix: update transaction description and memo display for improved readability and layout consistency
This commit is contained in:
@@ -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>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user