details style

This commit is contained in:
Julie Blanc 2026-04-08 20:33:31 +02:00
parent 94d14d70c1
commit af9785e436
23 changed files with 95 additions and 31 deletions

View file

@ -17,7 +17,7 @@ if ($block->location() == 'web') {
<?php if ($src): ?>
<div class="full-bleed-image full-page">
<figure class="<?= $fullWidth ? 'full-width' : '' ?>">
<figure id="<?= $block->id() ?>" class="<?= $fullWidth ? 'full-width' : '' ?>">
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
<?php if ($caption->isNotEmpty()): ?>
<figcaption><?= $caption ?></figcaption>