feat: center blog post content

This commit is contained in:
Youwen Wu 2024-04-07 00:35:38 -07:00
parent 57a10b9be8
commit 245444e297
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -29,9 +29,10 @@
<meta name="author" content="Youwen Wu" /> <meta name="author" content="Youwen Wu" />
</svelte:head> </svelte:head>
<div class="lg:flex max-w-6xl mx-auto mt-14 px-4"> <div class="lg:flex mx-auto mt-14 px-4">
<div class="flex-shrink xl:basis-1/4" />
<main <main
class="flex-grow basis-3/4 flex-shrink" class="flex-grow basis-3/4 xl:basis-2/4 flex-shrink"
use:toc={{ use:toc={{
store: tocStore, store: tocStore,
observe: true, observe: true,