Skip to content

Commit d32d4cc

Browse files
committed
Changed height of <Box> to fill background
1 parent 9b1619c commit d32d4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/LandingPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Box, Grid, Stack, Typography } from "@mui/material";
22
import DLSAppBar from "../components/AppBar";
3-
import { useWindowHeight, APP_BAR_HEIGHT } from "../utils/helper";
3+
import { APP_BAR_HEIGHT } from "../utils/helper";
44
import LinkCard from "../components/LinkCard";
55
import { PageRouteInfo } from "./PageRouteInfo";
66

@@ -13,7 +13,7 @@ export function LandingPage() {
1313
sx={{
1414
display: "flex",
1515
width: "100%",
16-
height: `calc(${useWindowHeight()}px - ${APP_BAR_HEIGHT}px - 10px)`,
16+
height: "100%",
1717
margin: `calc(${APP_BAR_HEIGHT}px + 5px) 5px 5px 5px`
1818
}}
1919
>

0 commit comments

Comments
 (0)