Fix indentation

master
Will Faught 3 years ago
parent 8319e33035
commit f694597cfa

@ -73,16 +73,16 @@
{{ if and (not $float) $style }} {{ if and (not $float) $style }}
<div class="align-items-{{ $align }} d-flex flex-column {{ if $height }} h-100 {{ end }} justify-content-center" style="{{ $style | safeCSS }}"> <div class="align-items-{{ $align }} d-flex flex-column {{ if $height }} h-100 {{ end }} justify-content-center" style="{{ $style | safeCSS }}">
{{ end }} {{ end }}
{{ if $table }} {{ if $table }}
<div class="d-table"> <div class="d-table">
{{ end }} {{ end }}
<div class="text-{{ $align }}">{{ $content }}</div> <div class="text-{{ $align }}">{{ $content }}</div>
{{ with $caption }} {{ with $caption }}
<figcaption class="figure-caption {{ with $gap }} mt-{{ . }} {{ end }} text-{{ $align }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ . }}</figcaption> <figcaption class="figure-caption {{ with $gap }} mt-{{ . }} {{ end }} text-{{ $align }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ . }}</figcaption>
{{ end }} {{ end }}
{{ if $table }} {{ if $table }}
</div> </div>
{{ end }} {{ end }}
{{ if and (not $float) $style }} {{ if and (not $float) $style }}
</div> </div>
{{ end }} {{ end }}

Loading…
Cancel
Save