Skip to content

Commit

Permalink
Fix homepage content collection heading alignment
Browse files Browse the repository at this point in the history
Headers/headings for content collections on the homepage are correctly
centered on small viewports, but not left aligned on large viewports.
This commit will fix the alignment on large viewports.
  • Loading branch information
br3ndonland committed Jul 21, 2024
1 parent 1acc696 commit 0ea3f0b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,14 @@ const works = (await getCollection("work"))
.section-header {
grid-area: header;
font-size: var(--text-lg);
justify-self: left;
text-align: left;
}

.section-header h3 {
font-size: var(--text-4xl);
}

.section-header .with-cta {
justify-self: flex-start;
text-align: left;
}

.gallery {
grid-area: gallery;
}
Expand Down

0 comments on commit 0ea3f0b

Please sign in to comment.