Skip to content

Commit 495d99e

Browse files
fix: line break before external link icon
Co-authored-by: Alex Savelyev <91429106+alexdln@users.noreply.github.com>
1 parent 276da0a commit 495d99e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/components/Readme.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ function handleClick(event: MouseEvent) {
127127
}
128128
129129
.readme :deep(a[target='_blank']::after) {
130-
content: '';
131-
@apply i-carbon:launch rtl-flip ms-1 -align-10% size-[1em] opacity-50;
130+
/* I don't know what kind of sorcery this is, but it ensures this icon can't wrap to a new line on its own. */
131+
content: '__';
132+
@apply inline i-carbon:launch rtl-flip ms-1 opacity-50;
132133
}
133134
134135
.readme :deep(code) {

0 commit comments

Comments
 (0)