Skip to content

Commit 9382c1e

Browse files
committed
fix: responsive font styles
1 parent 2af9385 commit 9382c1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/TransactionItem.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function TransactionItem({ tx }: Props) {
152152
</div>
153153
<div className="flex ml-auto space-x-3 shrink-0">
154154
<div className="flex flex-col items-end md:text-xl">
155-
<div className="flex gap-2">
155+
<div className="flex flex-row gap-1">
156156
<p
157157
className={cn(
158158
type == "incoming" && "text-green-600 dark:text-emerald-500"
@@ -163,14 +163,14 @@ function TransactionItem({ tx }: Props) {
163163
{new Intl.NumberFormat().format(
164164
Math.floor(tx.amount / 1000)
165165
)}
166-
</span>{" "}
166+
</span>
167167
</p>
168-
<p className="text-foreground">
168+
<p className="text-muted-foreground">
169169
{Math.floor(tx.amount / 1000) == 1 ? "sat" : "sats"}
170170
</p>
171171
</div>
172172
<FormattedFiatAmount
173-
className="text-base"
173+
className="text-xs md:text-base"
174174
amount={Math.floor(tx.amount / 1000)}
175175
/>
176176
</div>

0 commit comments

Comments
 (0)