Skip to content

Commit 669e64e

Browse files
committed
fix: fix some styling
1 parent 41bd452 commit 669e64e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/PackageManagerSelect.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function handleKeydown(event: KeyboardEvent) {
7474
<button
7575
ref="triggerRef"
7676
type="button"
77-
class="inline-flex items-center gap-1 px-2 py-1 font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border rounded transition-colors duration-200 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
77+
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-none focus-visible:ring-2 focus-visible:ring-fg/50 hover:text-fg"
7878
:aria-expanded="isOpen"
7979
aria-haspopup="listbox"
8080
:aria-label="$t('settings.package_manager')"
@@ -120,7 +120,7 @@ function handleKeydown(event: KeyboardEvent) {
120120
: undefined
121121
"
122122
:aria-label="$t('settings.package_manager')"
123-
class="absolute inset-ie-0 top-full mt-1 min-w-28 bg-bg-elevated border border-border rounded-lg shadow-lg z-50 py-1"
123+
class="absolute inset-ie-0 top-full mt-1 bg-bg-elevated border border-border rounded-md shadow-lg z-50 py-1"
124124
>
125125
<li
126126
v-for="(pm, index) in packageManagers"
@@ -136,11 +136,11 @@ function handleKeydown(event: KeyboardEvent) {
136136
@click="select(pm.id)"
137137
@mouseenter="highlightedIndex = index"
138138
>
139-
<span class="inline-block h-3 w-3 shrink-0" :class="pm.icon" aria-hidden="true" />
139+
<span class="inline-block h-3 w-3" :class="pm.icon" aria-hidden="true" />
140140
<span>{{ pm.label }}</span>
141141
<span
142142
v-if="selectedPM === pm.id"
143-
class="i-carbon:checkmark w-3 h-3 text-accent ms-auto shrink-0"
143+
class="i-carbon:checkmark w-3 h-3 text-accent ms-auto"
144144
aria-hidden="true"
145145
/>
146146
</li>

0 commit comments

Comments
 (0)