Skip to content

Commit

Permalink
#705 Fix mainpage footer combo position
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivareh committed Nov 24, 2024
1 parent 69f4a5f commit 993d741
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/frontend/src/components/Common/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const Footer = (props: StackProps) => {
<Stack
{...props}
width="100%"
minHeight="10rem"
mt="auto"
direction="column"
color="ui.white"
Expand Down
12 changes: 8 additions & 4 deletions src/frontend/src/components/Common/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const MainPage = (props: MainPageProps) => {
bg="ui.main"
width="99vw"
minWidth="bgBoxes.miniPBox"
minH="100vh"
>
<>
<Box mb={"7rem"}>
Expand All @@ -29,17 +30,21 @@ export const MainPage = (props: MainPageProps) => {
justifyContent="center"
maxWidth={"100%"}
flexWrap="wrap"
minHeight="100vh"
p={3}
pl={10}
pr={10}
borderTopRadius={10}
borderTopColor={"ui.darkBrown"}
borderTopWidth={1}
alignSelf="center"
minH="96vh"
>
{props.isReady && (
<VStack width={"bgBoxes.defaultBox"} height={"100%"} maxW={"100%"}>
<VStack
width={"bgBoxes.defaultBox"}
minHeight={"100vh"}
maxW={"100%"}
>
<GraphInput />
<QueryButtons />

Expand All @@ -48,10 +53,9 @@ export const MainPage = (props: MainPageProps) => {
minH={"bgBoxes.smallBox"}
height={"bgBoxes.smallBox"}
maxW="98vw"
mb="10rem"
justifyItems={"center"}
/>
<Footer />
<Footer minH="15rem" />
</VStack>
)}
</Flex>
Expand Down

0 comments on commit 993d741

Please sign in to comment.