[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: remove duplicate css classes (#1400)

authored by

Alexander Lichter and committed by
GitHub
d8e9a4e3 7125e507

+5 -5
+2 -2
app/components/Compare/FacetSelector.vue
··· 69 69 :disabled="facet.comingSoon" 70 70 :aria-pressed="isFacetSelected(facet.id)" 71 71 :aria-label="facet.label" 72 - class="inline-flex items-center gap-1 px-1.5 py-0.5 font-mono text-xs rounded border transition-colors duration-200 focus-visible:outline-accent/70" 72 + class="gap-1 px-1.5 rounded transition-colors focus-visible:outline-accent/70" 73 73 :class=" 74 74 facet.comingSoon 75 75 ? 'text-fg-subtle/50 bg-bg-subtle border-border-subtle cursor-not-allowed' 76 76 : isFacetSelected(facet.id) 77 - ? 'text-fg-muted bg-bg-muted border-border' 77 + ? 'text-fg-muted bg-bg-muted' 78 78 : 'text-fg-subtle bg-bg-subtle border-border-subtle hover:text-fg-muted hover:border-border' 79 79 " 80 80 @click="!facet.comingSoon && toggleFacet(facet.id)"
+1 -1
app/components/Package/Maintainers.vue
··· 189 189 name: '~username', 190 190 params: { username: maintainer.name }, 191 191 }" 192 - class="link-subtle font-mono text-sm shrink-0" 192 + class="link-subtle text-sm shrink-0" 193 193 dir="ltr" 194 194 > 195 195 ~{{ maintainer.name }}
+1 -1
app/components/Package/ManagerSelect.vue
··· 88 88 <button 89 89 ref="triggerRef" 90 90 type="button" 91 - class="cursor-pointer flex items-center gap-1.5 px-2 py-2 font-mono text-xs text-fg-muted bg-bg-subtle border border-border-subtle border-solid rounded-md transition-colors duration-150 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover focus-visible:outline-accent/70 hover:text-fg" 91 + class="cursor-pointer flex items-center gap-1.5 px-2 py-2 font-mono text-xs text-fg-muted bg-bg-subtle border border-border-subtle border-solid rounded-md transition-colors duration-150 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover focus-visible:outline-accent/70" 92 92 :aria-expanded="isOpen" 93 93 aria-haspopup="listbox" 94 94 :aria-label="$t('package.get_started.pm_label')"
+1 -1
app/components/Package/Versions.vue
··· 409 409 <template #actions> 410 410 <ButtonBase 411 411 variant="secondary" 412 - class="text-fg-subtle hover:text-fg transition-colors duration-200 inline-flex items-center justify-center min-w-6 min-h-6 -m-1 p-1 rounded" 412 + class="text-fg-subtle hover:text-fg transition-colors min-w-6 min-h-6 -m-1 p-1 rounded" 413 413 :title="$t('package.downloads.community_distribution')" 414 414 classicon="i-carbon:load-balancer-network" 415 415 @click="openDistributionModal"