diff --git a/CHANGELOG.md b/CHANGELOG.md index fb97489c9ef82f845708a9ce311a2ef03a339969..abb5b27ff1be0f0d52d92496665bcaa09bad62b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.7.2] + +- Fixed Related Card component not receiving correct colors when used in Landing Pages + ## [2.7.1] - 25/05/2020 - Fixed box link for both link and title pattern fields diff --git a/cern_components.info.yml b/cern_components.info.yml index 459f44a32ad823b224810cac6c41af15a224f351..5dd5e33aec424458af5d48437f6bd1aa18bd959a 100755 --- a/cern_components.info.yml +++ b/cern_components.info.yml @@ -2,7 +2,7 @@ name: "CERN Components" type: module description: "Provides all the necessary modules regarding CERN Web Components." core: 8.x -version: 2.7.1 +version: 2.7.2 package: CERN Components dependencies: - components:components (>=8.x-1.1-alpha1) diff --git a/patterns/molecules/related-card/related-card.html.twig b/patterns/molecules/related-card/related-card.html.twig index 8f3a51bf41e0835a9189e871f59bb0447e6e933f..32fcc432547ddc0f715ca94372c1a821927af5e1 100755 --- a/patterns/molecules/related-card/related-card.html.twig +++ b/patterns/molecules/related-card/related-card.html.twig @@ -29,7 +29,7 @@ {% endif %} -<div {{ attributes }}> +<div {{ attributes }} {{ attributes_bgcolor }}> {# Adds link to wrap the box #} {% if background | render %}