Skip to content

Commit f0e38c1

Browse files
fix: add cursor pointer to button and list items (#1317)
1 parent b73edaf commit f0e38c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/Package/ManagerSelect.vue

Lines changed: 2 additions & 2 deletions
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="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 hover:text-fg"
9292
:aria-expanded="isOpen"
9393
aria-haspopup="listbox"
9494
:aria-label="$t('package.get_started.pm_label')"
@@ -150,7 +150,7 @@ function handleKeydown(event: KeyboardEvent) {
150150
:key="pm.id"
151151
role="option"
152152
:aria-selected="selectedPM === pm.id"
153-
class="flex items-center gap-2 px-3 py-1.5 font-mono text-xs transition-colors duration-150"
153+
class="cursor-pointer flex items-center gap-2 px-3 py-1.5 font-mono text-xs transition-colors duration-150"
154154
:class="[
155155
selectedPM === pm.id ? 'text-fg' : 'text-fg-subtle',
156156
highlightedIndex === index ? 'bg-bg-elevated' : 'hover:bg-bg-elevated',

0 commit comments

Comments
 (0)