From 9396e613944cb56c1fbac09cb8c6fb7e260708b7 Mon Sep 17 00:00:00 2001
From: Martin Leblanc <m26lebla@uwaterloo.ca>
Date: Wed, 28 Aug 2024 10:47:03 -0400
Subject: [PATCH] ISTWCMS-6993: Add the class name to block twig for when auto
 manual list contains profile style.

---
 templates/blocks/block.html.twig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/templates/blocks/block.html.twig b/templates/blocks/block.html.twig
index dd89a4fb..4e4d7228 100644
--- a/templates/blocks/block.html.twig
+++ b/templates/blocks/block.html.twig
@@ -30,10 +30,11 @@
   'block',
   'block-' ~ configuration.provider|clean_class,
   'block-' ~ plugin_id|clean_class,
-   configuration.contact.style ? 'block-' ~ configuration.contact.style|clean_class,
+   configuration.contact.style ? 'block-contact__' ~ configuration.contact.style|clean_class,
+   configuration.profile.style ? 'block-profile__' ~ configuration.profile.style|clean_class,
+
 ]
 %}
-
 {% if in_layout_builder %}
   {{ attach_library('uw_theme_admin/uw_layout_builder') }}
 {% endif %}
-- 
GitLab