Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ button {
margin-top: 2rem;
margin-bottom: 1rem;
line-height: 1.3;

a {
text-decoration: none;
}
}

/* Visual styling based on original README heading level */
Expand Down
4 changes: 2 additions & 2 deletions app/pages/[...package].vue
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ defineOgImageComponent('Package', {

<div v-if="downloads" class="space-y-1">
<dt class="text-xs text-fg-subtle uppercase tracking-wider">Weekly</dt>
<dd class="font-mono text-sm text-fg flex items-baseline justify-start gap-2">
<dd class="font-mono text-sm text-fg flex items-center justify-start gap-2">
{{ formatNumber(downloads.downloads) }}
<a
:href="`https://npm.chart.dev/${pkg.name}`"
Expand All @@ -506,7 +506,7 @@ defineOgImageComponent('Package', {

<div class="space-y-1">
<dt class="text-xs text-fg-subtle uppercase tracking-wider">Deps</dt>
<dd class="font-mono text-sm text-fg flex items-baseline justify-start gap-2">
<dd class="font-mono text-sm text-fg flex items-center justify-start gap-2">
{{ getDependencyCount(displayVersion) }}
<a
v-if="getDependencyCount(displayVersion) > 0"
Expand Down