diff --git a/CHANGELOG.md b/CHANGELOG.md index abb5b27ff1be0f0d52d92496665bcaa09bad62b0..b5599e517d307b842ba1edc2516658e60974056a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.7.2] -- Fixed Related Card component not receiving correct colors when used in Landing Pages +- Fixed Related Card/Preview Card components not receiving correct colors when used in Landing Pages ## [2.7.1] - 25/05/2020 diff --git a/patterns/molecules/preview-card/preview-card.html.twig b/patterns/molecules/preview-card/preview-card.html.twig index b74151e809d60462ab9a12db2aa03e14f911e875..ea6452254f1d8b8d78d4988141f7f03b5b2df7a6 100755 --- a/patterns/molecules/preview-card/preview-card.html.twig +++ b/patterns/molecules/preview-card/preview-card.html.twig @@ -45,7 +45,7 @@ {% set box_link = title %} {% endif %} -<div {{ attributes }}> +<div {{ attributes }} {{ attributes_bgcolor }}> <a class="box-link" target="{{ box_link | render | get_tag_attribute('a', 'target') }}" href="{{ box_link | render | get_tag_attribute('a', 'href') }}"></a> {# Veil if there´s background image #}