Skip to content

Commit

Permalink
fix(markdown): external icon for target _blank
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 6, 2023
1 parent d81f657 commit 75330b8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions libs/markdown/src/lib/markdown.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
background-color: transparent;
}

a[target='_blank'] {
display: inline-flex;
align-items: center;

&::after {
content: 'open_in_new';
font-family: 'Material Icons', sans-serif;
padding-left: 2px;

&:hover {
text-decoration: none;
}
}
}

a:active,
a:hover {
outline-width: 0;
Expand Down

0 comments on commit 75330b8

Please sign in to comment.