Skip to content

Commit ffd9c9c

Browse files
authored
fix(ui): trends button group and labels on mobile (#1390)
1 parent da315a4 commit ffd9c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/Package/VersionDistribution.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ const endDate = computed(() => {
318318
>
319319
<div class="w-full mb-4 flex flex-col gap-3">
320320
<div class="flex flex-col sm:flex-row gap-3 sm:gap-2 sm:items-end">
321-
<div class="flex flex-col gap-1 sm:shrink-0">
321+
<div class="flex flex-col gap-1 w-fit sm:shrink-0">
322322
<label class="text-3xs font-mono text-fg-subtle tracking-wide uppercase">
323323
{{ $t('package.versions.distribution_title') }}
324324
</label>
@@ -427,7 +427,7 @@ const endDate = computed(() => {
427427
</div>
428428
</div>
429429

430-
<div class="flex flex-col gap-4 w-full max-w-1/2">
430+
<div class="flex flex-col gap-4 w-full">
431431
<TooltipApp
432432
:text="$t('package.versions.recent_versions_only_tooltip')"
433433
position="bottom"

0 commit comments

Comments
 (0)