[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: layout shift during code nav from root to any file/dir (#75)

authored by

Devon Wells and committed by
GitHub
4a074a9a 0a8cd709

+2 -1
+2 -1
app/pages/code/[...path].vue
··· 339 339 340 340 <!-- Breadcrumb navigation --> 341 341 <nav 342 - v-if="filePath" 343 342 aria-label="File path" 344 343 class="flex items-center gap-1 font-mono text-sm overflow-x-auto" 345 344 > 346 345 <NuxtLink 346 + v-if="filePath" 347 347 :to="getCodeUrl()" 348 348 class="text-fg-muted hover:text-fg transition-colors shrink-0" 349 349 > 350 350 root 351 351 </NuxtLink> 352 + <span v-else class="text-fg shrink-0">root</span> 352 353 <template v-for="(crumb, i) in breadcrumbs" :key="crumb.path"> 353 354 <span class="text-fg-subtle">/</span> 354 355 <NuxtLink