From 6caab605e9de1cde8fdee124852800fbb7470a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Keszthelyi?= Date: Wed, 12 Jul 2023 09:42:03 +0200 Subject: [PATCH] UCPKN-2290: Remove `fw-bold` class from featured media heading. --- .../__snapshots__/featured-media.test.js.snap | 4 ++-- src/compositions/bcl-featured-media/featured-media.html.twig | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/compositions/bcl-featured-media/__snapshots__/featured-media.test.js.snap b/src/compositions/bcl-featured-media/__snapshots__/featured-media.test.js.snap index 7c7b60ec3..e8097a70c 100644 --- a/src/compositions/bcl-featured-media/__snapshots__/featured-media.test.js.snap +++ b/src/compositions/bcl-featured-media/__snapshots__/featured-media.test.js.snap @@ -9,7 +9,7 @@ exports[`OE - Featured media featured item renders correctly 1`] = ` class="row" >

A title for a featured item

@@ -74,7 +74,7 @@ exports[`OE - Featured media featured item renders correctly with title 1`] = ` class="row" >
Featured media test title
diff --git a/src/compositions/bcl-featured-media/featured-media.html.twig b/src/compositions/bcl-featured-media/featured-media.html.twig index ae11392f7..ed22371d8 100644 --- a/src/compositions/bcl-featured-media/featured-media.html.twig +++ b/src/compositions/bcl-featured-media/featured-media.html.twig @@ -65,10 +65,6 @@ {% set attributes = create_attribute() %} {% endif %} -{% if _with_text %} - {% set _title_attributes = _title_attributes.addClass(['fw-bold', 'mb-4']) %} -{% endif %} - {% set attributes = attributes.addClass(["rounded", "overflow-hidden"]) %} {% if _image is not empty %}