fix(theme): show external link icon on same line (#1880)

pull/1599/head
Divyansh Singh 2 years ago committed by GitHub
parent b56351c778
commit 6218b108bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,5 +37,6 @@ const isExternal = computed(() => props.href && EXTERNAL_URL_RE.test(props.href)
height: 11px; height: 11px;
fill: var(--vp-c-text-3); fill: var(--vp-c-text-3);
transition: fill 0.25s; transition: fill 0.25s;
flex-shrink: 0;
} }
</style> </style>

@ -113,7 +113,8 @@ function onCaretClick() {
} }
.link { .link {
display: block; display: flex;
align-items: center;
flex-grow: 1; flex-grow: 1;
} }

Loading…
Cancel
Save