Update: removed grid from PostContent

This commit is contained in:
John
2024-12-29 18:02:04 -05:00
parent ed7c28958f
commit 3797b7ac6a
2 changed files with 7 additions and 3 deletions

View File

@@ -20,7 +20,7 @@
<h1 class="inline-block text-4xl font-bold inherit-colors lg:text-5xl">{post.metadata.title}</h1>
<PostMeta data={post.metadata} />
</div>
<div class="items-center py-8 mx-auto grid-cols-[80%_20%] grid gap-8 max-w-7xl relative prose prose-slate dark:prose-invert">
<div class="items-center py-8 mx-auto gap-8 max-w-7xl relative prose prose-slate dark:prose-invert">
{#if typeof post.content === 'function'}
<SideNav />
<svelte:component this={post.content} />

View File

@@ -27,6 +27,10 @@
@apply h2;
}
:global(p) {
@layer p;
}
:global(ul) {
@layer ul;
}
@@ -50,5 +54,5 @@
:global(code) {
@layer code;
}
</style>
</style>