unwrap FeaturePhoto from GraphicBlock
This commit is contained in:
parent
f77abdd571
commit
42d4de2396
1 changed files with 5 additions and 14 deletions
|
|
@ -175,22 +175,13 @@
|
||||||
|
|
||||||
<!-- Otherwise render the image if it exists -->
|
<!-- Otherwise render the image if it exists -->
|
||||||
{:else if img}
|
{:else if img}
|
||||||
<GraphicBlock
|
<FeaturePhoto
|
||||||
{width}
|
{width}
|
||||||
role="img"
|
|
||||||
class="my-0"
|
class="my-0"
|
||||||
textWidth="normal"
|
src={img}
|
||||||
{notes}
|
caption={notes}
|
||||||
{ariaDescription}
|
altText={ariaDescription || ''}
|
||||||
>
|
/>
|
||||||
<FeaturePhoto
|
|
||||||
class="my-0"
|
|
||||||
width="fluid"
|
|
||||||
src={img}
|
|
||||||
caption={notes}
|
|
||||||
altText={ariaDescription || ''}
|
|
||||||
/>
|
|
||||||
</GraphicBlock>
|
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</Block>
|
</Block>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue