From 24ce6c538a9593504bc905da5f1a3fc40ffa8db8 Mon Sep 17 00:00:00 2001 From: dan13ram Date: Wed, 18 Jan 2023 23:26:09 +0530 Subject: [PATCH 01/11] fixed bug in section heights --- .../web/components/Dashboard/Calendar.tsx | 26 +- .../components/Dashboard/DashboardSection.tsx | 45 +--- .../components/Dashboard/LatestContent.tsx | 123 +++++---- .../web/components/Dashboard/Leaderboard.tsx | 240 +++++++++--------- .../components/Dashboard/QuestsCompleted.tsx | 7 +- .../components/Dashboard/QuestsCreated.tsx | 92 +++---- packages/web/components/Dashboard/Seed.tsx | 141 +++++----- packages/web/components/Dashboard/XP.tsx | 108 ++++---- .../Player/Section/PlayerSkills.tsx | 2 +- packages/web/utils/layoutHelpers.ts | 2 +- 10 files changed, 398 insertions(+), 388 deletions(-) diff --git a/packages/web/components/Dashboard/Calendar.tsx b/packages/web/components/Dashboard/Calendar.tsx index 25a0aeca1..97558383a 100644 --- a/packages/web/components/Dashboard/Calendar.tsx +++ b/packages/web/components/Dashboard/Calendar.tsx @@ -1,3 +1,4 @@ +import { Flex, Text } from '@metafam/ds'; import { CONFIG } from 'config'; import React, { useEffect, useState } from 'react'; @@ -13,15 +14,20 @@ export const Calendar: React.FC = () => { const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; return ( -