From fa9406d66636fb51d31956f277e0a7e37527d353 Mon Sep 17 00:00:00 2001 From: Nicholas Pettas Date: Mon, 13 May 2024 22:25:22 -0700 Subject: [PATCH] switch to mono font in the table to reduce jumping during real-time updats --- app/leaderboard/page.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/app/leaderboard/page.tsx b/app/leaderboard/page.tsx index 0d87ea3..5c89618 100644 --- a/app/leaderboard/page.tsx +++ b/app/leaderboard/page.tsx @@ -249,14 +249,14 @@ export default function Leaderboard() { Account - + Hashes - + Super Hashes {accountType == AccountType.Solana ? ( - + solXEN ) : null} @@ -282,24 +282,24 @@ export default function Leaderboard() { {rank} - + {accountType == "solana" ? solAccount : ethAccount} -
+
-
+
Hashes
-
+
{Intl.NumberFormat("en-US").format(hashes)}
-
+
Super Hashes
@@ -313,7 +313,7 @@ export default function Leaderboard() {
solXEN
-
+
{percentOfState(points) > 0 ? (
{percentOfState(points)}% @@ -327,19 +327,19 @@ export default function Leaderboard() { ) : null}
- - + + {Intl.NumberFormat("en-US").format(hashes)} - - + + {Intl.NumberFormat("en-US").format(superHashes)} {accountType == AccountType.Solana ? ( - - + + {Intl.NumberFormat("en-US").format( points / 1_000_000_000n, )}