fix: center images within picture element

This commit is contained in:
Devin Haska 2024-11-21 22:29:49 -08:00
parent ddf999812e
commit d00a46ac39
No known key found for this signature in database

View file

@ -57,7 +57,7 @@ const imageShortcode = async (
const imageElement = caption
? `<figure class="[ flow flex-col items-center justify-center ${className ? ` ${className} ` : ""}]">
<picture>
<picture class="flex items-center justify-center">
${imageSources}
<img
${imageAttributes}>