@@ -23,25 +23,25 @@ const emit = defineEmits<{
2323 class =" group card-interactive scroll-mt-48 scroll-mb-6 relative focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-bg focus-within:ring-offset-2 focus-within:ring-fg/50"
2424 :class =" { 'bg-bg-muted border-border-hover': selected }"
2525 >
26- <div class =" flex justify-between items-end gap-8" >
26+ <div class =" mb-2" >
27+ <component
28+ :is =" headingLevel ?? 'h3'"
29+ class =" font-mono text-base font-medium text-fg group-hover:text-fg transition-colors duration-200 min-w-0 break-all"
30+ >
31+ <NuxtLink
32+ :to =" { name: 'package', params: { package: result.package.name.split('/') } }"
33+ :prefetch-on =" prefetch ? 'visibility' : 'interaction'"
34+ class =" focus:outline-none decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0"
35+ :data-result-index =" index"
36+ @focus =" index != null && emit('focus', index)"
37+ @mouseenter =" index != null && emit('focus', index)"
38+ >
39+ {{ result.package.name }}
40+ </NuxtLink >
41+ </component >
42+ </div >
43+ <div class =" flex justify-between items-start gap-8" >
2744 <div >
28- <div class =" flex items-center gap-2 mb-2" >
29- <component
30- :is =" headingLevel ?? 'h3'"
31- class =" font-mono text-base font-medium text-fg group-hover:text-fg transition-colors duration-200 min-w-0 break-all"
32- >
33- <NuxtLink
34- :to =" { name: 'package', params: { package: result.package.name.split('/') } }"
35- :prefetch-on =" prefetch ? 'visibility' : 'interaction'"
36- class =" focus:outline-none decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0"
37- :data-result-index =" index"
38- @focus =" index != null && emit('focus', index)"
39- @mouseenter =" index != null && emit('focus', index)"
40- >
41- {{ result.package.name }}
42- </NuxtLink >
43- </component >
44- </div >
4545 <p v-if =" result.package.description" class =" text-fg-muted text-sm line-clamp-2 mb-3" >
4646 <MarkdownText :text =" result.package.description" />
4747 </p >
0 commit comments