Skip to content

Commit 1ad7aa3

Browse files
committed
feat: better hero centering
1 parent 4ac11e5 commit 1ad7aa3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/index.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ import heroImage from "@/images/fireimage.gif";
5959
min-height: calc(100vh - 4.5rem);
6060
max-width: 720px;
6161
margin-inline: auto;
62+
padding-bottom: 4.5rem;
6263
}
6364

6465
.hero-content {
@@ -111,8 +112,8 @@ import heroImage from "@/images/fireimage.gif";
111112

112113
@media (max-width: 450px) {
113114
.hero {
114-
min-height: calc(100vh - 12rem);
115-
padding-bottom: 4rem;
115+
min-height: calc(100vh - 8.5rem);
116+
padding-bottom: 8.6rem;
116117
}
117118
.hero-content {
118119
flex-direction: column;

0 commit comments

Comments
 (0)