Skip to content

Commit 2af9385

Browse files
committed
fix: font sizes on wallet page
1 parent fb3de53 commit 2af9385

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

frontend/src/components/TransactionItem.tsx

+9-6
Original file line numberDiff line numberDiff line change
@@ -155,21 +155,24 @@ function TransactionItem({ tx }: Props) {
155155
<div className="flex gap-2">
156156
<p
157157
className={cn(
158-
"font-semibold",
159158
type == "incoming" && "text-green-600 dark:text-emerald-500"
160159
)}
161160
>
162161
{type == "outgoing" ? "-" : "+"}
163-
{new Intl.NumberFormat().format(
164-
Math.floor(tx.amount / 1000)
165-
)}{" "}
162+
<span className="font-medium">
163+
{new Intl.NumberFormat().format(
164+
Math.floor(tx.amount / 1000)
165+
)}
166+
</span>{" "}
166167
</p>
167168
<p className="text-foreground">
168169
{Math.floor(tx.amount / 1000) == 1 ? "sat" : "sats"}
169170
</p>
170171
</div>
171-
172-
<FormattedFiatAmount amount={Math.floor(tx.amount / 1000)} />
172+
<FormattedFiatAmount
173+
className="text-base"
174+
amount={Math.floor(tx.amount / 1000)}
175+
/>
173176
</div>
174177
</div>
175178
</div>

frontend/src/screens/wallet/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ function Wallet() {
8181
<BreezRedeem />
8282
<div className="flex flex-col xl:flex-row justify-between xl:items-center gap-5">
8383
<div className="flex flex-col gap-1 text-center xl:text-left">
84-
<div className="text-5xl font-semibold balance sensitive slashed-zero">
84+
<div className="text-5xl font-medium balance sensitive slashed-zero">
8585
{new Intl.NumberFormat().format(
8686
Math.floor(balances.lightning.totalSpendable / 1000)
8787
)}{" "}
8888
sats
8989
</div>
9090
<FormattedFiatAmount
91-
className="text-xl font-semibold"
91+
className="text-xl"
9292
amount={balances.lightning.totalSpendable / 1000}
9393
/>
9494
</div>

0 commit comments

Comments
 (0)