Skip to content

Commit 3d08b1d

Browse files
committed
style: make the 'other versions' list scrollable
1 parent 78e956c commit 3d08b1d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/components/PackageVersions.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,10 @@ function getTagVersions(tag: string): VersionDisplay[] {
515515
</button>
516516

517517
<!-- Expanded other versions -->
518-
<div v-if="otherVersionsExpanded" class="ms-4 ps-2 border-is border-border space-y-0.5">
518+
<div
519+
v-if="otherVersionsExpanded"
520+
class="ms-4 ps-2 pe-1 border-is border-border space-y-0.5 max-h-44 overflow-y-auto"
521+
>
519522
<!-- Hidden tag rows (overflow from visible tags) -->
520523
<div v-for="row in hiddenTagRows" :key="row.id" class="py-1">
521524
<div class="flex items-center justify-between gap-2">

0 commit comments

Comments
 (0)