Skip to content

Commit

Permalink
feat: add icon to external link
Browse files Browse the repository at this point in the history
  • Loading branch information
TrymVei committed Jan 3, 2025
1 parent 4feb57c commit 8e4ee72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/link/link.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8e4ee72

Please sign in to comment.