Skip to content

Commit

Permalink
fix(theme/regression): external link icon not working
Browse files Browse the repository at this point in the history
closes #3424
  • Loading branch information
brc-dd committed Jan 8, 2024
1 parent f8fe3ae commit c236570
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/client/theme-default/components/VPDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,4 @@ const pageName = computed(() =>
.VPDoc.has-aside .content-container {
max-width: 688px;
}
.external-link-icon-enabled :is(.vp-doc a[href*='://'], .vp-doc a[target='_blank'])::after {
content: '';
color: currentColor;
}
</style>
6 changes: 6 additions & 0 deletions src/client/theme-default/styles/components/vp-doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -558,3 +558,9 @@
.vp-external-link-icon::after {
content: '';
}

/* prettier-ignore */
.external-link-icon-enabled :is(.vp-doc a[href*='://'], .vp-doc a[target='_blank'])::after {
content: '';
color: currentColor;
}

0 comments on commit c236570

Please sign in to comment.