Skip to content

Commit 406e462

Browse files
committed
Fix hero on mobile
1 parent 1af7a18 commit 406e462

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/components/Hero.astro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,17 @@ const imageAttrs = {
7272
</div>
7373

7474
<style>
75-
.heroImageWrapper {
76-
width: min(100%, 50rem);
75+
.hero {
76+
display: flex;
77+
flex-direction: column;
7778
justify-content: center;
79+
}
80+
81+
.heroImageWrapper img {
82+
image-rendering: pixelated;
7883
width: 100%;
7984
height: auto;
85+
justify-content: center;
8086
}
8187

8288
.actions {

0 commit comments

Comments
 (0)