Skip to content

Commit 8a21052

Browse files
committed
Fix layout
1 parent 6e07e73 commit 8a21052

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

apps/landing/src/app/(detail)/components/layout.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ export default function Layout({
88
}: Readonly<{ children: React.ReactNode }>) {
99
return (
1010
<>
11-
<Flex maxW="1920px" minH="calc(100vh - 500px)" mx="auto" w="100%">
11+
<Flex maxW="1920px" minH="calc(100vh - 500px)" mx="auto">
1212
<Box display={['none', null, 'initial']} p="20px 16px" w="220px">
1313
<Box pos="sticky" top={['70px', null, '90px']}>
1414
<LeftMenu />
1515
</Box>
1616
</Box>
1717
<Box
1818
className="markdown-body"
19-
overflow="hidden"
20-
px={['16px', null, '60px']}
21-
py={['24px', null, '40px']}
19+
flex={1}
20+
px={['16px', '30px', '60px']}
21+
py={['24px', '40px']}
22+
w="100%"
2223
>
2324
{children}
2425
</Box>

apps/landing/src/app/(detail)/components/overview/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Card from '../Card'
77

88
export default function Page() {
99
return (
10-
<VStack gap="16px" px={['16px', '30px', '60px']} py={['24px', '40px']}>
10+
<VStack gap="16px">
1111
<Text color="$primary" typography="captionBold">
1212
Overview
1313
</Text>

apps/landing/src/app/(detail)/team/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ export default function TeamLayout({
77
}>) {
88
return (
99
<>
10-
<Box maxW="1014px" minH="calc(100vh - 500px)" mx="auto" p="40px 60px">
10+
<Box
11+
maxW="1014px"
12+
minH="calc(100vh - 500px)"
13+
mx="auto"
14+
px={['16px', null, '60px']}
15+
py={['20px', null, '40px']}
16+
>
1117
{children}
1218
</Box>
1319
</>

0 commit comments

Comments
 (0)