[beta4] Allow the display of an icon on external links in header menu

Created on 17 August 2023, over 1 year ago
Updated 19 August 2023, over 1 year ago

Problem/Motivation

The styles of the Design System allow the display of an icon to the left of the links located in the header. However, some links may be external. In this case, the current Link pattern does not allow an icon to be added to the left of the link.

Steps to reproduce

  1. Inside the header menu, setup internal and external links both with an icon to the left.
  2. Observe the absence of desired icon on the external link.

Proposed resolution

Remove the following condition inside the link pattern's Twig file: and not is_external

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France spryah

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024