Skip to content

Commit 8e9c51d

Browse files
fix: correct mobile padding for hero contents standard
1 parent 5babe17 commit 8e9c51d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/components/hero/HeroContentsStandard.astro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const { heading, squiggly = "medium" }: Props = Astro.props;
3636
display: flex;
3737
flex-direction: column;
3838
gap: 1rem;
39-
padding: 5rem;
4039
margin-bottom: 2rem;
40+
padding: 3.5rem 0 5rem;
4141
text-align: center;
4242
}
4343

@@ -55,4 +55,10 @@ const { heading, squiggly = "medium" }: Props = Astro.props;
5555
font-weight: var(--fontWeightLight);
5656
max-width: 35rem;
5757
}
58+
59+
@media (width >= 1117px) {
60+
.hero-contents-standard {
61+
padding: 5rem;
62+
}
63+
}
5864
</style>

0 commit comments

Comments
 (0)