diff --git a/web/themes/custom/opdavies/templates/field--media--video.html.twig b/web/themes/custom/opdavies/templates/field--media--video.html.twig index 65f073a..3631bde 100644 --- a/web/themes/custom/opdavies/templates/field--media--video.html.twig +++ b/web/themes/custom/opdavies/templates/field--media--video.html.twig @@ -36,17 +36,14 @@ * @see template_preprocess_field() */ #} -{% - set title_classes = [ - label_display == 'visually_hidden' ? 'visually-hidden', - ] -%} +{% set title_classes = [ label_display == 'visually_hidden' ? 'visually-hidden' ] %} +{% set item_classes = ['aspect-w-16 aspect-h-9'] %} {% if label_hidden %} {% if multiple %} {% for item in items %} - {{ item.content }} + {{ item.content }} {% endfor %} {% else %} @@ -61,7 +58,7 @@
{% endif %} {% for item in items %} - {{ item.content }}
+ {{ item.content }} {% endfor %} {% if multiple %}