mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
This fixes https://github.com/nunocoracao/blowfish/issues/2292 and avoids expanding in weird ways on larger screens. It does make the section a larger on large screens. This however looks reasonable and should actually be an improvement. For consistency I added w-full to layouts unaffected by https://github.com/nunocoracao/blowfish/issues/2292 too (page, card). Otherwise they look off. page layout still has a bug where the fixed-width div expands the section too much on larger screens, but this behavior is the same as before. All layouts do not encounter https://github.com/nunocoracao/blowfish/issues/2292.
12 lines
274 B
HTML
12 lines
274 B
HTML
<article class="max-w-full prose dark:prose-invert">
|
|
{{ with .Title }}
|
|
<header>
|
|
<h1>{{ . | emojify }}</h1>
|
|
</header>
|
|
{{ end }}
|
|
<section class="w-full">{{ .Content }}</section>
|
|
</article>
|
|
<section>
|
|
{{ partial "recent-articles/main.html" . }}
|
|
</section>
|