fix: Styling post header

This commit is contained in:
Leni Aniva 2024-10-18 11:26:56 -07:00
parent f971902433
commit 1a1d53adee
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 4 additions and 5 deletions

View File

@ -29,11 +29,10 @@
<a id="post-title" href="/post/{post.slug}">{post.title}</a> <a id="post-title" href="/post/{post.slug}">{post.title}</a>
{/if} {/if}
</h2> </h2>
{#if post?.description} <!-- Visually this component should exist to ensure the even spacing between individual posts. -->
<div> <div>
<p class="text-gray-500 h-8">{post.description}</p> <p class="text-gray-500 h-8">{post?.description || ""}</p>
</div> </div>
{/if}
<div class="flex flex-row justify-between" style="width: 100%"> <div class="flex flex-row justify-between" style="width: 100%">
<p class="text-gray-200 flex justify-center"> <p class="text-gray-200 flex justify-center">
{#each (post?.tags ?? []) as tag, i} {#each (post?.tags ?? []) as tag, i}