From dd5232f2f86f3aced7873ee9a39a718a05e46d53 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 12 Sep 2024 18:53:34 +0100 Subject: [PATCH] Fix spacing on leaderboard page --- src/components/Leaderboard/LeaderboardPage.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Leaderboard/LeaderboardPage.tsx b/src/components/Leaderboard/LeaderboardPage.tsx index 16ba0155e..ad529e525 100644 --- a/src/components/Leaderboard/LeaderboardPage.tsx +++ b/src/components/Leaderboard/LeaderboardPage.tsx @@ -83,8 +83,8 @@ function LeaderboardLane(props: LeaderboardLaneProps) { return (
-
-

{title}

+
+

{title}

{tabs.length > 1 && (
@@ -96,7 +96,7 @@ function LeaderboardLane(props: LeaderboardLaneProps) { key={tab.title} onClick={() => setActiveTab(tab)} className={cn( - 'text-xs font-medium underline-offset-2 transition-colors', + 'text-sm font-medium underline-offset-2 transition-colors', { 'text-black underline': isActive, 'text-gray-400 hover:text-gray-600': !isActive, @@ -119,7 +119,7 @@ function LeaderboardLane(props: LeaderboardLaneProps) { )} {usersToShow.length > 0 && ( -
    +
      {usersToShow.map((user, counter) => { const avatar = user?.avatar ? `${import.meta.env.PUBLIC_AVATAR_BASE_URL}/${user.avatar}`