Skip to content

Commit

Permalink
fix: transaction list styles (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz authored Aug 12, 2024
1 parent 9883292 commit a3855d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/TransactionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function TransactionItem({ tx }: Props) {
{dayjs(tx.settledAt).fromNow()}
</p>
</div>
<p className="text-sm md:text-base text-muted-foreground break-all">
<p className="text-sm md:text-base text-muted-foreground break-all flex">
{tx.description}
</p>
</div>
Expand All @@ -108,7 +108,7 @@ function TransactionItem({ tx }: Props) {
Math.floor(tx.amount / 1000)
)}{" "}
</p>
<p className="text-muted-foreground">
<p className="text-foreground">
{Math.floor(tx.amount / 1000) == 1 ? "sat" : "sats"}
</p>

Expand All @@ -124,7 +124,7 @@ function TransactionItem({ tx }: Props) {
<DialogContent className="slashed-zero">
<DialogHeader>
<DialogTitle>{`${type == "outgoing" ? "Sent" : "Received"} Bitcoin`}</DialogTitle>
<DialogDescription>
<DialogDescription className="text-start text-foreground">
<div className="flex items-center mt-6">
<div
className={cn(
Expand Down

0 comments on commit a3855d0

Please sign in to comment.