💄 Style: Fix overflow on some home layouts

Fixed width elements were overflowing previously on:
background, hero and profile.

This addresses https://github.com/nunocoracao/blowfish/issues/2292

Currently the section element expands more than it used to
on larger screens, I will try to fix this.
This commit is contained in:
Served Smart
2025-06-30 00:00:51 +02:00
parent a9aae948eb
commit 9f9bb7dcd8
3 changed files with 6 additions and 3 deletions

View File

@@ -79,7 +79,8 @@
</div>
{{ end }}
</div>
<section class="prose dark:prose-invert">{{ .Content }}</section>
<!-- FIXME: This lets section expand too much on larger screens-->
<section class="prose dark:prose-invert max-w-full">{{ .Content }}</section>
</div>
</div>
</div>

View File

@@ -105,7 +105,8 @@
</div>
{{ end }}
</div>
<section class="prose prose-invert">{{ .Content }}</section>
<!-- FIXME: This lets section expand too much on larger screens-->
<section class="prose prose-invert max-w-full">{{ .Content }}</section>
</div>
</div>
</div>

View File

@@ -35,7 +35,8 @@
{{ partialCached "author-links.html" . }}
</div>
</header>
<section class="prose dark:prose-invert">{{ .Content }}</section>
<!-- FIXME: This lets section expand too much on larger screens-->
<section class="prose dark:prose-invert max-w-full">{{ .Content }}</section>
</article>
<section>
{{ partial "recent-articles/main.html" . }}