Skip to content

Commit

Permalink
fix: Fixed footer position
Browse files Browse the repository at this point in the history
  • Loading branch information
MGukic committed Dec 10, 2024
1 parent 50e89f3 commit 027cb49
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions frontend/src/components/organisms/NotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { customPalette } from "@/constants";
export function NotFound({
title,
description,
height = "70vh",
height = "82vh",
sx,
}: {
title: string;
Expand All @@ -23,7 +23,7 @@ export function NotFound({
display="flex"
justifyContent="center"
alignItems="center"
sx={{ height }}
sx={{ height, backgroundColor: customPalette.neutralWhite }}
>
<Box
sx={{
Expand All @@ -35,10 +35,18 @@ export function NotFound({
px={3}
py={5}
>
<Typography fontWeight={600} variant="title2" data-testid="not-found-title-text">
<Typography
fontWeight={600}
variant="title2"
data-testid="not-found-title-text"
>
{t(title)}
</Typography>
<Typography fontWeight={400} variant="body1" data-testid="not-found-description-text">
<Typography
fontWeight={400}
variant="body1"
data-testid="not-found-description-text"
>
{t(description)}
</Typography>
</Box>
Expand Down

0 comments on commit 027cb49

Please sign in to comment.