File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,9 +155,9 @@ const sortedOptionalDependencies = computed(() => {
155155 <li
156156 v-for =" peer in sortedPeerDependencies.slice(0, peerDepsExpanded ? undefined : 10)"
157157 :key =" peer.name"
158- class =" flex items-center justify-between py-1 text-sm gap-2 min-w-0"
158+ class =" flex items-center justify-between py-1 text-sm gap-1 min-w-0"
159159 >
160- <div class =" flex items-center gap-2 shrink-0" >
160+ <div class =" flex items-center gap-1 shrink-0" >
161161 <NuxtLink
162162 :to =" { name: 'package', params: { package: peer.name.split('/') } }"
163163 class =" font-mono text-fg-muted hover:text-fg transition-colors duration-200"
@@ -166,10 +166,11 @@ const sortedOptionalDependencies = computed(() => {
166166 </NuxtLink >
167167 <span
168168 v-if =" peer.optional"
169- class =" px-1 py-0.5 font-mono text-[10px] text-fg-subtle bg-bg-muted border border-border rounded shrink-0 "
169+ class =" shrink-0 text-fg-muted hover: text-fg transition-colors duration-200 cursor-help inline-flex items-center "
170170 :title =" $t('package.dependencies.optional')"
171+ :aria-label =" $t('package.dependencies.optional')"
171172 >
172- {{ $t('package.dependencies.optional') }}
173+ < span aria-hidden = " true " class = " i-carbon:information w-3 h-3 block " />
173174 </span >
174175 </div >
175176 <NuxtLink
You can’t perform that action at this time.
0 commit comments