Skip to content
Snippets Groups Projects
Commit 3166515c authored by Konstantinos Platis's avatar Konstantinos Platis
Browse files

Fix Preview cards not getting background color when used in Landing Pages

parent fa692364
No related branches found
No related tags found
1 merge request!86Merges version 2.7.2 into master
...@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [2.7.2] ## [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 ## [2.7.1] - 25/05/2020
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
{% set box_link = title %} {% set box_link = title %}
{% endif %} {% 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> <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 #} {# Veil if there´s background image #}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment