Move paige-figure, paige-figure-numbered to separate div

master
Will Faught 1 year ago
parent 54ab0eba98
commit ae15daf680

@ -53,7 +53,7 @@ blockquote {
.paige-figure .highlight pre.chroma, .paige-figure .highlight pre.chroma,
.paige-figure .highlight .chroma pre, .paige-figure .highlight .chroma pre,
.paige-figure .paige-quote > blockquote, .paige-figure .paige-quote > blockquote,
.paige-figure > figure > div > :last-child, .paige-figure figure > div > :last-child,
.paige-gallery .paige-figure, .paige-gallery .paige-figure,
.paige-gallery .paige-image, .paige-gallery .paige-image,
blockquote > p:last-of-type { blockquote > p:last-of-type {

@ -56,7 +56,8 @@
{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}} {{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
<div class="align-items-{{ $vertical }} d-flex {{ with $float }} float-{{ . }} {{ end }} h-100 justify-content-{{ $horizontal }} {{ with $sidemargin }} {{ . }} {{ end }} paige-figure {{ if $numbered }} paige-figure-numbered {{ end }}"> <div class="paige-figure {{ if $numbered }} paige-figure-numbered {{ end }}">
<div class="align-items-{{ $vertical }} d-flex {{ with $float }} float-{{ . }} {{ end }} h-100 justify-content-{{ $horizontal }} {{ with $sidemargin }} {{ . }} {{ end }}">
<figure class="{{ if $table }} d-table {{ end }} mb-0" {{ with $widths }} style="{{ . | safeCSS }}" {{ end }}> <figure class="{{ if $table }} d-table {{ end }} mb-0" {{ with $widths }} style="{{ . | safeCSS }}" {{ end }}>
<div class="d-flex justify-content-{{ $horizontal }} text-{{ $horizontal }}">{{ $content }}</div> <div class="d-flex justify-content-{{ $horizontal }} text-{{ $horizontal }}">{{ $content }}</div>
@ -65,3 +66,4 @@
{{ end }} {{ end }}
</figure> </figure>
</div> </div>
</div>

Loading…
Cancel
Save