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
8 changes: 8 additions & 0 deletions app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,13 @@ export default {
variant: 'outline',
},
},
prose: {
pre: {
slots: {
// The copy button sits over the first line, so long commands that wrap keep clear of it.
base: 'pe-12',
},
},
},
},
}
9 changes: 5 additions & 4 deletions layers/registry/app/pages/gh/[owner]/[repo]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,12 @@ useHead(computed(() => ({
<UIcon name="i-lucide-package" class="size-3.5" aria-hidden="true" />
Indexed skills
</p>
<div class="mt-2 flex min-h-8 items-end justify-between gap-3">
<div class="mt-2 flex min-h-8 flex-wrap items-end justify-between gap-x-3 gap-y-1">
<USkeleton v-if="repoSkillsLoading" class="h-7 w-12" />
<p v-else class="font-mono text-xl font-medium tabular-nums">
{{ repoSkills.length.toLocaleString() }}
</p>
<div class="h-7 w-20 shrink-0 sm:w-24">
<div class="ms-auto h-7 w-20 shrink-0 sm:w-24">
<USkeleton
v-if="repoHistoryStatus === 'pending'"
class="h-full w-full"
Expand Down Expand Up @@ -509,11 +509,12 @@ useHead(computed(() => ({
<UIcon name="i-lucide-star" class="size-3.5" aria-hidden="true" />
GitHub stars
</p>
<div class="mt-2 flex min-h-8 items-end justify-between gap-3">
<!-- A phone card is too narrow for a six digit count and the sparkline, so the sparkline wraps under it. -->
<div class="mt-2 flex min-h-8 flex-wrap items-end justify-between gap-x-3 gap-y-1">
<p class="font-mono text-xl font-medium tabular-nums">
{{ sourceStars.toLocaleString() }}
</p>
<div class="h-7 w-20 shrink-0 sm:w-24">
<div class="ms-auto h-7 w-20 shrink-0 sm:w-24">
<USkeleton
v-if="repoHistoryStatus === 'pending'"
class="h-full w-full"
Expand Down