We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71bfb18 commit 46e44edCopy full SHA for 46e44ed
src/view/components/TraceLink.svelte
@@ -47,9 +47,16 @@
47
{#if isSourceLess}
48
<i class="no-link">{name ? `${name} ${link}` : link}</i>
49
{:else}
50
- <a href={link} class="-trace" class:visited onclick={onClick}>{
51
- name || link
52
- }</a>
+ <a
+ href={link}
+ title={link}
53
+ class="-trace"
54
+ class:visited
55
+ class:name={!!name}
56
+ onclick={onClick}
57
+ >
58
+ {name || link}
59
+ </a>
60
{/if}
61
62
<style lang="scss">
@@ -67,6 +74,9 @@
67
74
text-overflow: ellipsis;
68
75
max-width: 25rem;
69
76
77
+ &.name {
78
+ font-weight: 600;
79
+ }
70
80
&.visited {
71
81
background-color: var(--link-visited-bg);
72
82
}
0 commit comments