Skip to content

Commit d8e9a4e

Browse files
fix: remove duplicate css classes (#1400)
1 parent 7125e50 commit d8e9a4e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/components/Compare/FacetSelector.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ function isCategoryNoneSelected(category: string): boolean {
6969
:disabled="facet.comingSoon"
7070
:aria-pressed="isFacetSelected(facet.id)"
7171
: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"
7373
:class="
7474
facet.comingSoon
7575
? 'text-fg-subtle/50 bg-bg-subtle border-border-subtle cursor-not-allowed'
7676
: isFacetSelected(facet.id)
77-
? 'text-fg-muted bg-bg-muted border-border'
77+
? 'text-fg-muted bg-bg-muted'
7878
: 'text-fg-subtle bg-bg-subtle border-border-subtle hover:text-fg-muted hover:border-border'
7979
"
8080
@click="!facet.comingSoon && toggleFacet(facet.id)"

app/components/Package/Maintainers.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ watch(
189189
name: '~username',
190190
params: { username: maintainer.name },
191191
}"
192-
class="link-subtle font-mono text-sm shrink-0"
192+
class="link-subtle text-sm shrink-0"
193193
dir="ltr"
194194
>
195195
~{{ maintainer.name }}

app/components/Package/ManagerSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function handleKeydown(event: KeyboardEvent) {
8888
<button
8989
ref="triggerRef"
9090
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"
9292
:aria-expanded="isOpen"
9393
aria-haspopup="listbox"
9494
:aria-label="$t('package.get_started.pm_label')"

app/components/Package/Versions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
409409
<template #actions>
410410
<ButtonBase
411411
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"
413413
:title="$t('package.downloads.community_distribution')"
414414
classicon="i-carbon:load-balancer-network"
415415
@click="openDistributionModal"

0 commit comments

Comments
 (0)