Skip to content

Commit e6f5ad3

Browse files
committed
set max height for contenthero image
1 parent ec2eded commit e6f5ad3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Hero/ContentHero/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const ContentHero = (props: ContentHeroProps) => {
2929
>
3030
<Box
3131
order={{ lg: 1 }}
32+
py={{ base: 0, lg: 12 }}
3233
height={{
3334
base: "300px",
3435
md: "400px",
@@ -47,6 +48,7 @@ const ContentHero = (props: ContentHeroProps) => {
4748
boxSize="full"
4849
style={{ objectFit: "contain" }}
4950
flex={{ base: "1 1 100%", md: "none" }}
51+
maxHeight={451}
5052
/>
5153
</Box>
5254
<Stack p={{ base: "8", lg: "16" }} spacing="9" justify="center">

0 commit comments

Comments
 (0)