From 231d0b021b69c363ecf4caf7a463989388fc6318 Mon Sep 17 00:00:00 2001 From: Imanol Eguskiza Date: Mon, 8 Jan 2024 14:21:59 +0100 Subject: [PATCH 1/2] EWPP-3771: Fix link block style. --- .../ec-component-link-block/link-block.html.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/compositions/ec-component-link-block/link-block.html.twig b/templates/compositions/ec-component-link-block/link-block.html.twig index 30d838e4f..1d855e039 100644 --- a/templates/compositions/ec-component-link-block/link-block.html.twig +++ b/templates/compositions/ec-component-link-block/link-block.html.twig @@ -24,6 +24,7 @@ {% set _links = links|default([]) %} {% set _css_class = 'ecl-link-block' %} {% set _extra_attributes = '' %} +{% set _color = ecl_component_library == 'ec' ? 'neutral-20' : 'primary-5' %} %} {# Internal logic - Process properties #} @@ -37,7 +38,7 @@ {% endfor %} {% endif %} -
+
{% if _title is not empty %}