unwrap FeaturePhoto from GraphicBlock

This commit is contained in:
hobbes7878 2025-04-18 14:46:22 +01:00
parent f77abdd571
commit 42d4de2396
Failed to extract signature

View file

@ -175,22 +175,13 @@
<!-- Otherwise render the image if it exists -->
{:else if img}
<GraphicBlock
<FeaturePhoto
{width}
role="img"
class="my-0"
textWidth="normal"
{notes}
{ariaDescription}
>
<FeaturePhoto
class="my-0"
width="fluid"
src={img}
caption={notes}
altText={ariaDescription || ''}
/>
</GraphicBlock>
src={img}
caption={notes}
altText={ariaDescription || ''}
/>
{/if}
</div>
</Block>