Skip to content

Commit 0e339e6

Browse files
committed
fix: home page image
1 parent 1c154a5 commit 0e339e6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/pages/index.astro

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,19 +132,23 @@ import heroImage from "@/images/profile-bg-med.png";
132132
scroll-margin-top: 4rem;
133133
}
134134

135-
@media (max-width: 450px) {
135+
@media (max-width: 550px) {
136136
.hero {
137137
min-height: calc(100vh - 8.5rem);
138138
padding-bottom: 8.6rem;
139139
}
140140
.hero-content {
141141
flex-direction: column;
142+
text-align: center;
142143
}
143-
.hero-image {
144+
.hero-image-stack {
144145
order: unset;
145146
margin-inline: auto;
146-
max-width: 60%;
147-
margin-bottom: 1.5rem;
147+
max-width: 50%;
148+
margin-bottom: 2.5rem;
149+
}
150+
.buttons {
151+
justify-content: center;
148152
}
149153
}
150154

0 commit comments

Comments
 (0)