Skip to content

Commit 285f471

Browse files
fix: remove duplicate css classes
1 parent 4db33e9 commit 285f471

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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)