Constrain post summary width for EZ reading

This commit is contained in:
tobias 2024-05-19 17:36:20 +02:00
parent 7d2f0822fa
commit aa7a5acf94

View File

@ -16,7 +16,7 @@ const { post } = Astro.props;
alt={post.thumbnail.alt}
/>
<div class="flex flex-col gap-4">
<div class="flex flex-col gap-4 w-full">
<div class="flex justify-between w-full">
<h3 class="">{post.title}</h3>
{post.publishedDate && (
@ -25,7 +25,7 @@ const { post } = Astro.props;
</p>
)}
</div>
{post.summary && <p>
{post.summary && <p class="max-w-prose">
{post.summary}
</p>}
</div>