diff --git a/js/src/app/dashboard/Dashboard.page.tsx b/js/src/app/dashboard/Dashboard.page.tsx index 6b092646d..545cccee9 100644 --- a/js/src/app/dashboard/Dashboard.page.tsx +++ b/js/src/app/dashboard/Dashboard.page.tsx @@ -46,6 +46,7 @@ export default function DashboardPage() { /> ); } + return ( <> @@ -62,19 +63,48 @@ export default function DashboardPage() { : } - - - - - - - - - - + + {smallPhone ? + <> + { + + + + } + { + + + + } + + : <> + { + + + + } + { + + + + } + + } +
+ + + +
diff --git a/js/src/app/dashboard/_components/ProblemOfTheDay/ProblemOfTheDay.tsx b/js/src/app/dashboard/_components/ProblemOfTheDay/ProblemOfTheDay.tsx index 83b8b6b78..5b640829a 100644 --- a/js/src/app/dashboard/_components/ProblemOfTheDay/ProblemOfTheDay.tsx +++ b/js/src/app/dashboard/_components/ProblemOfTheDay/ProblemOfTheDay.tsx @@ -8,7 +8,7 @@ export default function ProblemOfTheDay() { const { data, status } = useFetchPotdQuery(); const renderStatusCard = (message: string) => ( - + +
Problem of the day @@ -55,7 +55,7 @@ export default function ProblemOfTheDay() { align={"center"} justify={"center"} w={"100%"} - h={"100%"} + h={{ base: "auto", md: "100%" }} > <Title style={{ textAlign: "center" }} order={4}> {json.title}