Skip to content

Commit 714ab63

Browse files
authored
fix: blank gap on collapsed weekly downloads (#1639)
1 parent 02ac533 commit 714ab63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ const config = computed<VueUiSparklineConfig>(() => {
264264
</script>
265265

266266
<template>
267-
<div class="space-y-8 h-[110px] motion-safe:h-[140px]">
267+
<div class="space-y-8">
268268
<CollapsibleSection id="downloads" :title="$t('package.downloads.title')">
269269
<template #actions>
270270
<ButtonBase
@@ -280,7 +280,7 @@ const config = computed<VueUiSparklineConfig>(() => {
280280
<span v-else-if="isLoadingWeeklyDownloads" class="min-w-6 min-h-6 -m-1 p-1" />
281281
</template>
282282

283-
<div class="w-full overflow-hidden">
283+
<div class="w-full overflow-hidden h-[110px] motion-safe:h-[140px]">
284284
<template v-if="isLoadingWeeklyDownloads || hasWeeklyDownloads">
285285
<ClientOnly>
286286
<VueUiSparkline class="w-full max-w-xs" :dataset :config>

0 commit comments

Comments
 (0)