@@ -97,7 +97,7 @@ const sortedOptionalDependencies = computed(() => {
9797 >
9898 <span class =" i-carbon:warning-alt w-3 h-3 block" />
9999 </span >
100- <span aria-hidden =" true" class =" flex- shrink-1 flex- grow-1 " />
100+ <span aria-hidden =" true" class =" shrink grow" />
101101 <NuxtLink
102102 v-if =" getVulnerableDepInfo(dep)"
103103 :to =" {
@@ -155,12 +155,12 @@ 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-start py-1 text-sm gap-2"
158+ class =" flex items-center justify-between py-1 text-sm gap-2 min-w-0 "
159159 >
160- <div class =" flex items-center gap-2 min-w -0" >
160+ <div class =" flex items-center gap-2 shrink -0" >
161161 <NuxtLink
162162 :to =" { name: 'package', params: { package: peer.name.split('/') } }"
163- class =" font-mono text-fg-muted hover:text-fg transition-colors duration-200 truncate "
163+ class =" font-mono text-fg-muted hover:text-fg transition-colors duration-200"
164164 >
165165 {{ peer.name }}
166166 </NuxtLink >
@@ -172,13 +172,12 @@ const sortedOptionalDependencies = computed(() => {
172172 {{ $t('package.dependencies.optional') }}
173173 </span >
174174 </div >
175- <span aria-hidden =" true" class =" flex-shrink-1 flex-grow-1" />
176175 <NuxtLink
177176 :to =" {
178177 name: 'package',
179178 params: { package: [...peer.name.split('/'), 'v', peer.version] },
180179 }"
181- class =" font-mono text-xs text-fg-subtle max-w-[40%] text-end truncate "
180+ class =" font-mono text-xs text-fg-subtle shrink-0 "
182181 :title =" peer.version"
183182 >
184183 {{ peer.version }}
@@ -221,7 +220,7 @@ const sortedOptionalDependencies = computed(() => {
221220 >
222221 {{ dep }}
223222 </NuxtLink >
224- <span aria-hidden =" true" class =" flex- shrink-1 flex- grow-1 " />
223+ <span aria-hidden =" true" class =" shrink grow" />
225224 <NuxtLink
226225 :to =" { name: 'package', params: { package: [...dep.split('/'), 'v', version] } }"
227226 class =" font-mono text-xs text-fg-subtle max-w-[50%] text-end truncate"
0 commit comments