File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const emit = defineEmits<{
3131 <NuxtLink
3232 :to =" { name: 'package', params: { package: result.package.name.split('/') } }"
3333 :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"
34+ class =" focus-visible :outline-none decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0"
3535 :data-result-index =" index"
3636 @focus =" index != null && emit('focus', index)"
3737 @mouseenter =" index != null && emit('focus', index)"
@@ -41,7 +41,7 @@ const emit = defineEmits<{
4141 </component >
4242 </div >
4343 <div class =" flex justify-between items-start gap-4 sm:gap-8" >
44- <div >
44+ <div class = " min-w-0 " >
4545 <p
4646 v-if =" result.package.description"
4747 class =" text-fg-muted text-xs sm:text-sm line-clamp-2 mb-2 sm:mb-3"
@@ -113,7 +113,7 @@ const emit = defineEmits<{
113113 <li v-for =" keyword in result.package.keywords.slice(0, 5)" :key =" keyword" >
114114 <NuxtLink
115115 :to =" { name: 'search', query: { q: `keywords:${keyword}` } }"
116- class =" tag decoration-none"
116+ class =" tag decoration-none focus-visible:ring-2 focus-visible:ring-fg/50 focus-visible:outline-none "
117117 >
118118 {{ keyword }}
119119 </NuxtLink >
You can’t perform that action at this time.
0 commit comments