Skip to content

Commit

Permalink
fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytc13579 committed Jan 4, 2024
1 parent 9a9c3a8 commit 8ecb868
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions src/modules/home/Section_2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,10 @@ const Section_2 = () => {
display={'flex'}
flex={1}
overflow={'hidden'}
p={[8, 24, 32]}
justifyContent={'center'}
alignContent={'center'}
>
<Box className="maxWidth" alignSelf={'center'}>
<Box className="maxWidth" alignSelf={'center'} py={['120px']}>
<Text
textAlign={'left'}
fontSize={['24px', '48px']}
Expand All @@ -136,7 +135,7 @@ const Section_2 = () => {
alignSelf={'center'}
position={'absolute'}
zIndex={999}
left={[-5, -20]}
left={[-5, -12]}
/>
}
nextArrow={
Expand All @@ -148,7 +147,7 @@ const Section_2 = () => {
alignSelf={'center'}
position={'absolute'}
zIndex={999}
right={[-5, -20]}
right={[-5, -12]}
/>
}
infinite={true}
Expand Down
1 change: 0 additions & 1 deletion src/modules/home/Section_4/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const Section_4 = () => {
display={'flex'}
flexDirection={'column'}
py={['120px']}
px={['160px']}
>
<HStack
display={'flex'}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/home/Section_6/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Section_6 = () => {
own Bitcoin L2 blockchain.
</Text>
<Box height={['40px']} />
<Flex padding={['24px']} gap={['36px']}>
<Flex py={['24px']} gap={['36px']}>
{CONTENTS.map(renderItem)}
</Flex>
</Flex>
Expand Down
6 changes: 3 additions & 3 deletions src/modules/home/Section_7/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Section_7 = () => {
}}
>
<Card bgColor={'#000'}>
<CardBody>
<CardBody p={[0]} paddingRight={['20px']}>
<Image
src={item.imageUrl}
alt="thumb image"
Expand Down Expand Up @@ -99,7 +99,7 @@ const Section_7 = () => {
alignSelf={'center'}
position={'absolute'}
zIndex={999}
left={[-5, -20]}
left={[-5, -14]}
/>
}
nextArrow={
Expand All @@ -111,7 +111,7 @@ const Section_7 = () => {
alignSelf={'center'}
position={'absolute'}
zIndex={999}
right={[-5, -20]}
right={[-5, -12]}
/>
}
infinite={true}
Expand Down

0 comments on commit 8ecb868

Please sign in to comment.