generated from autonomic-cooperative/astro-payload-template
Constrain post summary width for EZ reading
This commit is contained in:
parent
7d2f0822fa
commit
aa7a5acf94
@ -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 && (
|
||||
@ -24,8 +24,8 @@ const { post } = Astro.props;
|
||||
{new Date(post.publishedDate).toLocaleDateString("de-DE")}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
{post.summary && <p>
|
||||
</div>
|
||||
{post.summary && <p class="max-w-prose">
|
||||
{post.summary}
|
||||
</p>}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user