Skip to content

Commit 9b0bacd

Browse files
committed
Tweak the sizing so the prose has more width
1 parent c55d18f commit 9b0bacd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/TableOfContents.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const toc = generateToc(headings)
4040

4141
<details
4242
open
43-
class="relative text-foreground/90 bg-foreground/6 xl:bg-transparent px-8 xl:pr-2 py-6 mt-5 xl:mt-0 w-full rounded-xl border-3 xl:border-none border-accent/10 xl:sticky xl:top-6 xl:basis-[280px] 2xl:basis-[340px] xl:order-2 xl:shrink-0"
43+
class="relative text-foreground/90 bg-foreground/6 xl:bg-transparent px-8 xl:pr-2 py-6 mt-5 xl:mt-0 w-full rounded-xl border-3 xl:border-none border-accent/10 xl:sticky xl:top-10 xl:basis-[280px] 2xl:basis-[340px] xl:order-2 xl:shrink-0"
4444
>
4545
<summary
4646
class="list-none marker:hidden marker:content-[''] before:content-['>'] before:text-accent before:font-semibold before:absolute before:left-3 cursor-pointer"

src/pages/posts/[slug].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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-10 2xl:gap-20 xl:flex-row xl:items-start">
86+
<div class="flex flex-col xl:gap-8 2xl:gap-18 xl:flex-row xl:items-start">
8787
{headings.length > 0 && <TableOfContents headings={headings} />}
88-
<div class="mb-5 xl:min-w-[640px] xl:max-w-3xl prose">
88+
<div class="mb-5 xl:min-w-[648px] 2xl:min-w-[688px] prose">
8989
<PostContent />
9090
</div>
9191
</div>

0 commit comments

Comments
 (0)