Skip to content

Commit b733fa0

Browse files
committed
Slightly increase h1 element size
1 parent 56ef65e commit b733fa0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/layouts/MarkdownLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { frontmatter } = Astro.props
1515

1616
<Layout title={frontmatter.title} description={frontmatter.description}>
1717
<div class="max-w-full py-7.5">
18-
<h1 class="mb-3 text-2xl text-[var(--theme-h1)] font-semibold">
18+
<h1 class="mb-3 text-[1.75rem] text-[var(--theme-h1)] font-semibold">
1919
# {frontmatter.title}
2020
</h1>
2121
<div class="mb-5 prose">

src/pages/posts/[slug].astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if (addendum.length > 0) {
5555
/>
5656
)
5757
}
58-
<h1 class="mb-3 text-2xl text-[var(--theme-h1)] font-semibold">
58+
<h1 class="mb-3 text-[1.75rem] text-[var(--theme-h1)] font-semibold">
5959
# {postData.title}
6060
</h1>
6161
<div class="text-foreground/80 mb-2.5">
@@ -83,9 +83,9 @@ if (addendum.length > 0) {
8383
)
8484
}
8585
<!-- <hr class="border-accent/10 border-2 rounded-xl hidden lg:block" /> -->
86-
<div class="flex flex-col xl:gap-8 2xl:gap-18 xl:flex-row xl:items-start">
86+
<div class="flex flex-col xl:gap-4 2xl:gap-18 xl:flex-row xl:items-start">
8787
{postData.toc && headings.length > 0 && <TableOfContents headings={headings} />}
88-
<div class="mb-5 xl:min-w-[648px] 2xl:min-w-[688px] prose">
88+
<div class="mb-5 xl:min-w-full 2xl:min-w-full prose">
8989
<PostContent />
9090
</div>
9191
</div>

0 commit comments

Comments
 (0)