center buttons in div

This commit is contained in:
Troy 2025-01-26 13:48:52 +00:00
parent 31b2a973bc
commit c52e42a57f
Signed by: troy
GPG key ID: DFC06C02ED3B4711
4 changed files with 11 additions and 5 deletions

View file

@ -31,7 +31,9 @@ const work = await Promise.all(
<entry.Content />
</article>
{entry.data.article ? (
<Button href={entry.data.article} link="View project" />
<div class="flex justify-center">
<Button href={entry.data.article} link="View project" />
</div>
) : null}
</li>
))