Skip to content

Commit 45afe1b

Browse files
committed
style: don't create a scrollable container on mobile/tablets, make the scroll container a little bigger to show that there are more items
1 parent 3d08b1d commit 45afe1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/PackageVersions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function getTagVersions(tag: string): VersionDisplay[] {
412412
<!-- Expanded versions -->
413413
<div
414414
v-if="expandedTags.has(row.tag) && getTagVersions(row.tag).length > 1"
415-
class="ms-4 ps-2 pe-1 border-is border-border space-y-0.5 max-h-44 overflow-y-auto"
415+
class="ms-4 ps-2 pe-1 border-is border-border space-y-0.5 lg:max-h-48 lg:overflow-y-auto"
416416
>
417417
<div v-for="v in getTagVersions(row.tag).slice(1)" :key="v.version" class="py-1">
418418
<div class="flex items-center justify-between gap-2">
@@ -517,7 +517,7 @@ function getTagVersions(tag: string): VersionDisplay[] {
517517
<!-- Expanded other versions -->
518518
<div
519519
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"
520+
class="ms-4 ps-2 pe-1 border-is border-border space-y-0.5 lg:max-h-48 lg:overflow-y-auto"
521521
>
522522
<!-- Hidden tag rows (overflow from visible tags) -->
523523
<div v-for="row in hiddenTagRows" :key="row.id" class="py-1">

0 commit comments

Comments
 (0)