Skip to content

Commit

Permalink
Merge pull request #10379 from ethereum/fixHeroSpacing
Browse files Browse the repository at this point in the history
Adjust hero spacing on smaller screens
  • Loading branch information
corwintines authored Jul 4, 2023
2 parents 3983267 + a3e675e commit c41ad2d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/PageHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,17 @@ const PageHero: React.FC<IProps> = ({
>
<Box
maxW={{ base: "full", lg: "container.sm" }}
py={{ base: 16, lg: 32 }}
pt={{ base: isReverse ? 0 : 8, lg: 32 }}
pb={{ base: isReverse ? 8 : 0, lg: 32 }}
pl={{ base: 0, lg: 8 }}
mr={4}
mr={{ base: 0, lg: 4 }}
>
<Heading
as="h1"
textTransform="uppercase"
fontSize="md"
fontWeight="normal"
mt={{ base: 0, lg: 8 }}
mb={4}
color="text300"
lineHeight={1.4}
Expand All @@ -77,6 +79,7 @@ const PageHero: React.FC<IProps> = ({
fontSize={{ base: "2.5rem", lg: "5xl" }}
maxW="full"
mb={0}
mt={{ base: 8, lg: 12 }}
color="text00"
lineHeight={1.4}
>
Expand Down

0 comments on commit c41ad2d

Please sign in to comment.