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}
|
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">
|
<div class="flex justify-between w-full">
|
||||||
<h3 class="">{post.title}</h3>
|
<h3 class="">{post.title}</h3>
|
||||||
{post.publishedDate && (
|
{post.publishedDate && (
|
||||||
@ -24,8 +24,8 @@ const { post } = Astro.props;
|
|||||||
{new Date(post.publishedDate).toLocaleDateString("de-DE")}
|
{new Date(post.publishedDate).toLocaleDateString("de-DE")}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{post.summary && <p>
|
{post.summary && <p class="max-w-prose">
|
||||||
{post.summary}
|
{post.summary}
|
||||||
</p>}
|
</p>}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user