Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions app/components/Package/Dependencies.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,24 @@ const numberFormatter = useNumberFormatter()
class="flex items-center justify-between py-1 text-sm gap-1 min-w-0"
>
<div class="flex items-center gap-2 min-w-0 flex-1">
<LinkBase :to="packageRoute(peer.name)" class="block max-w-[70%] break-words" dir="ltr">
<LinkBase
:to="packageRoute(peer.name)"
class="block flex-1 min-w-0 break-all"
dir="ltr"
>
{{ peer.name }}
</LinkBase>
<TagStatic v-if="peer.optional" :title="$t('package.dependencies.optional')">
<TagStatic
v-if="peer.optional"
:title="$t('package.dependencies.optional')"
class="shrink-0"
>
{{ $t('package.dependencies.optional') }}
</TagStatic>
</div>
<LinkBase
:to="packageRoute(peer.name, peer.version)"
class="block truncate max-w-[30%]"
class="block truncate shrink-0 max-w-32"
:title="peer.version"
dir="ltr"
>
Expand Down
Loading