restrain the width on larger screens

This commit is contained in:
Drew 2025-03-31 13:26:19 -06:00
parent 90994d0099
commit 29bcf223a3
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
</div>
</div>
</article>
<aside>
<aside class="max-w-screen-xl mx-auto px-4 lg:px-0">
{{ partial "related-articles" (dict "page" . "tags" .Params.tags "limit" 3) }}
</aside>
<div class="text-center my-12"><a href="/">Go Home</a></div>

View File

@ -1,5 +1,5 @@
{{ define "main" }}
<main class="flex gap-4 lg:gap-16 justify-around mt-8">
<main class="flex gap-4 lg:gap-16 justify-around mt-8 max-w-screen-xl mx-auto px-4 lg:px-0">
<ul class="flex flex-col gap-4 w-full">
{{ partial "article-list.html" (dict "Pages" (where .Site.RegularPages "Section" "articles")) }}
</ul>