From fe0be93d3e5a5fe970aaf799ce9581ec7b4ec0a2 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 24 Oct 2023 11:13:05 +0100 Subject: [PATCH] fix weird spacing on the scores card --- src/components/player/Scores.tsx | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/src/components/player/Scores.tsx b/src/components/player/Scores.tsx index 5b0096b..b430057 100644 --- a/src/components/player/Scores.tsx +++ b/src/components/player/Scores.tsx @@ -57,9 +57,9 @@ export default function Scores({ } return ( - + {/* Sort */} -
+
{Object.values(SortTypes).map((sortTypee) => { return ( @@ -82,21 +82,19 @@ export default function Scores({
-
-
- {scores.map((scoreData, id) => { - const { score, leaderboard } = scoreData; +
+ {scores.map((scoreData, id) => { + const { score, leaderboard } = scoreData; - return ( - - ); - })} -
+ return ( + + ); + })}
{/* Pagination */}