Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(featured media): Remove fw-bold class from featured media heading. - UCPKN-2290 #544

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`OE - Featured media featured item renders correctly 1`] = `
class="row"
>
<h2
class="fw-bold mb-4 bcl-heading"
class="mb-4 bcl-heading"
>
A title for a featured item
</h2>
Expand Down Expand Up @@ -74,7 +74,7 @@ exports[`OE - Featured media featured item renders correctly with title 1`] = `
class="row"
>
<h6
class="fw-bold mb-4 bcl-heading"
class="mb-4 bcl-heading"
>
Featured media test title
</h6>
Expand Down
4 changes: 0 additions & 4 deletions src/compositions/bcl-featured-media/featured-media.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down