Skip to content

Commit

Permalink
fix(theme): show external link icon on same line (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored Feb 25, 2023
1 parent b56351c commit 6218b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/client/theme-default/components/VPLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ const isExternal = computed(() => props.href && EXTERNAL_URL_RE.test(props.href)
height: 11px;
fill: var(--vp-c-text-3);
transition: fill 0.25s;
flex-shrink: 0;
}
</style>
3 changes: 2 additions & 1 deletion src/client/theme-default/components/VPSidebarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ function onCaretClick() {
}
.link {
display: block;
display: flex;
align-items: center;
flex-grow: 1;
}
Expand Down

0 comments on commit 6218b10

Please sign in to comment.