fix: center images within picture element
This commit is contained in:
parent
ddf999812e
commit
d00a46ac39
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ const imageShortcode = async (
|
||||||
|
|
||||||
const imageElement = caption
|
const imageElement = caption
|
||||||
? `<figure class="[ flow flex-col items-center justify-center ${className ? ` ${className} ` : ""}]">
|
? `<figure class="[ flow flex-col items-center justify-center ${className ? ` ${className} ` : ""}]">
|
||||||
<picture>
|
<picture class="flex items-center justify-center">
|
||||||
${imageSources}
|
${imageSources}
|
||||||
<img
|
<img
|
||||||
${imageAttributes}>
|
${imageAttributes}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue