Move paige-figure, paige-figure-numbered to separate div
This commit is contained in:
@@ -53,7 +53,7 @@ blockquote {
|
||||
.paige-figure .highlight pre.chroma,
|
||||
.paige-figure .highlight .chroma pre,
|
||||
.paige-figure .paige-quote > blockquote,
|
||||
.paige-figure > figure > div > :last-child,
|
||||
.paige-figure figure > div > :last-child,
|
||||
.paige-gallery .paige-figure,
|
||||
.paige-gallery .paige-image,
|
||||
blockquote > p:last-of-type {
|
||||
|
@@ -56,7 +56,8 @@
|
||||
|
||||
{{/* 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 }}>
|
||||
<div class="d-flex justify-content-{{ $horizontal }} text-{{ $horizontal }}">{{ $content }}</div>
|
||||
|
||||
@@ -65,3 +66,4 @@
|
||||
{{ end }}
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user