From e6cf8743bce12863264e6b2ade06389f39f0b3da Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 19 Dec 2021 13:35:45 +0000 Subject: [PATCH] fix: make the field label a heading Refs: #452 --- .../opdavies/templates/field--node--field-events.html.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/themes/custom/opdavies/templates/field--node--field-events.html.twig b/web/themes/custom/opdavies/templates/field--node--field-events.html.twig index 6ef96c1..7ed8736 100644 --- a/web/themes/custom/opdavies/templates/field--node--field-events.html.twig +++ b/web/themes/custom/opdavies/templates/field--node--field-events.html.twig @@ -39,6 +39,7 @@ {% set title_classes = [ label_display == 'visually_hidden' ? 'visually-hidden', + 'mb-2' ] %} @@ -56,7 +57,7 @@ {% endif %} {% else %} - {{ label }} + {{ label }} {% if multiple %}
    {% endif %}