[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: small fixes

+8 -4
+2 -2
app/components/PackageCard.vue
··· 48 48 <NuxtLink 49 49 :to="{ name: 'package', params: { package: result.package.name.split('/') } }" 50 50 :prefetch-on="prefetch ? 'visibility' : 'interaction'" 51 - class="focus-visible:outline-none decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0" 51 + class="decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0" 52 52 :data-result-index="index" 53 53 @focus="index != null && emit('focus', index)" 54 54 @mouseenter="index != null && emit('focus', index)" ··· 108 108 </dd> 109 109 </div> 110 110 <div v-if="result.package.license" class="flex items-center gap-1.5"> 111 - <dt class="sr-only">License</dt> 111 + <dt class="sr-only">{{ $t('package.card.license') }}</dt> 112 112 <dd>{{ result.package.license }}</dd> 113 113 </div> 114 114 </dl>
+2 -1
i18n/locales/en.json
··· 116 116 "publisher": "Publisher", 117 117 "updated": "Updated", 118 118 "weekly_downloads": "Weekly downloads", 119 - "keywords": "Keywords" 119 + "keywords": "Keywords", 120 + "license": "License" 120 121 }, 121 122 "versions": { 122 123 "title": "Versions",
+4 -1
uno.config.ts
··· 121 121 ['link-subtle', 'text-fg-muted hover:text-fg transition-colors duration-200 focus-ring'], 122 122 123 123 // Cards 124 - ['card', 'bg-bg-subtle border border-border rounded-lg p-4 sm:p-6 transition-all duration-200'], 124 + [ 125 + 'card', 126 + 'bg-bg-subtle border border-border rounded-lg p-4 sm:p-6 transition-[border-color,background-color] duration-200', 127 + ], 125 128 ['card-interactive', 'card hover:(border-border-hover bg-bg-muted) cursor-pointer'], 126 129 127 130 // Form elements