Skip to content

Commit d2dbe53

Browse files
authored
fix: correct package weekly download stats safe-size (#1698)
1 parent 463bdab commit d2dbe53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ const config = computed<VueUiSparklineConfig>(() => {
296296
<span v-else-if="isLoadingWeeklyDownloads" class="min-w-6 min-h-6 -m-1 p-1" />
297297
</template>
298298

299-
<div class="w-full overflow-hidden h-[110px] motion-safe:h-[140px]">
299+
<div class="w-full overflow-hidden h-[76px] motion-safe:h-[calc(92px+0.75rem)]">
300300
<template v-if="isLoadingWeeklyDownloads || hasWeeklyDownloads">
301301
<ClientOnly>
302302
<VueUiSparkline class="w-full max-w-xs" :dataset :config>

0 commit comments

Comments
 (0)