Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/blox/blox/content-collection/block.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@
{{ if $title }}
<div class="flex flex-col items-center max-w-prose mx-auto gap-3 justify-center px-6 md:px-0">

<div class="mb-6 text-3xl font-bold text-gray-900 dark:text-white">
<h2 class="mb-6 text-3xl font-bold text-gray-900 dark:text-white">
{{ $title }}
</div>
</h2>

{{ with $text }}<p>{{ . }}</p>{{ end }}
</div>
Expand Down
4 changes: 2 additions & 2 deletions modules/blox/blox/markdown/block.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="flex flex-col items-center max-w-prose mx-auto gap-3 justify-center px-6">

{{ with $title }}
<div class="mb-6 text-3xl font-bold text-gray-900 dark:text-white">
<h2 class="mb-6 text-3xl font-bold text-gray-900 dark:text-white">
{{ . }}
</div>
</h2>
{{ end }}

{{/* We use DIV rather than P to support `prose` class and multiple paragraphs */}}
Expand Down