From 8e4ee72d8ea9be3db85fd7aed1ffb902b096272f Mon Sep 17 00:00:00 2001 From: TrymVei Date: Fri, 3 Jan 2025 13:29:39 +0100 Subject: [PATCH] feat: add icon to external link --- src/components/link/link.module.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/link/link.module.css b/src/components/link/link.module.css index a51581af6..cc96589cb 100644 --- a/src/components/link/link.module.css +++ b/src/components/link/link.module.css @@ -62,6 +62,16 @@ @media (min-width: 1024px) { font-size: 1.25rem; } + + &::after { + content: ""; + width: 24px; + height: 24px; + display: inline-block; + -webkit-mask-size: cover; + background-color: var(--text-primary); + -webkit-mask: url("/_assets/arrow-up-right.svg") no-repeat 50% 50%; + } } .colorLight .internalLink {