Align figure content

This commit is contained in:
Will Faught
2023-01-15 22:10:55 -08:00
parent c3189dfca9
commit ab91a710e1
3 changed files with 44 additions and 4 deletions

View File

@@ -82,7 +82,7 @@
{{ if $table }}
<div class="d-table">
{{ end }}
<div>{{ $content }}</div>
<div class="text-{{ $align }}">{{ $content }}</div>
{{ with $caption }}
<figcaption class="figure-caption mt-{{ $gap }} text-{{ $align }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ . }}</figcaption>
{{ end }}