diff --git a/src/implementations/vanilla/components/ordered-list/ordered-list.scss b/src/implementations/vanilla/components/ordered-list/ordered-list.scss index d4c4b4398b4..385d7e70d3c 100644 --- a/src/implementations/vanilla/components/ordered-list/ordered-list.scss +++ b/src/implementations/vanilla/components/ordered-list/ordered-list.scss @@ -43,6 +43,7 @@ $list: null !default; } .ecl-link, + .ecl-link .ecl-link__label, %ecl-ordered-list-link { text-decoration: none; diff --git a/src/implementations/vanilla/components/unordered-list/unordered-list.scss b/src/implementations/vanilla/components/unordered-list/unordered-list.scss index faecba501a1..e8598ebac89 100644 --- a/src/implementations/vanilla/components/unordered-list/unordered-list.scss +++ b/src/implementations/vanilla/components/unordered-list/unordered-list.scss @@ -37,6 +37,7 @@ $list: null !default; } .ecl-link, + .ecl-link .ecl-link__label, %ecl-unordered-list-link { text-decoration: none; diff --git a/src/specs/components/ordered-list/demo/data--link.js b/src/specs/components/ordered-list/demo/data--link.js index 5ec14d364c5..accfd174625 100644 --- a/src/specs/components/ordered-list/demo/data--link.js +++ b/src/specs/components/ordered-list/demo/data--link.js @@ -1,3 +1,5 @@ +const iconPath = require('@ecl/resources-icons/dist/sprites/icons.svg'); + const publicUrl = process.env.PUBLIC_URL || ''; const exampleLink = `${publicUrl}/example`; @@ -24,7 +26,13 @@ module.exports = { label: `Morbi vitae tortor accumsan`, }, { - label: `Nulla facilisi`, + label: ` + Phasellus suscipit + + Link to an external domain + + + `, }, { label: `Phasellus in metus et libero scelerisque sagittis sollicitudin at lectus`,