Skip to content

Commit 1051bf7

Browse files
authored
Merge branch 'main' into fix-search
2 parents 69bc16a + 94739a7 commit 1051bf7

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

app/components/Compare/PackageSelector.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ function handleFocus() {
204204
@click="addPackage(result.name)"
205205
>
206206
<span class="font-mono text-sm text-fg block">{{ result.name }}</span>
207-
<span v-if="result.description" class="text-xs text-fg-muted truncate mt-0.5">
207+
<span
208+
v-if="result.description"
209+
class="text-xs text-fg-muted truncate mt-0.5 w-full block"
210+
>
208211
{{ result.description }}
209212
</span>
210213
</ButtonBase>

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',

app/components/Terminal/Install.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
114114
:data-pm-cmd="pm.id"
115115
class="flex items-center gap-2 group/installcmd min-w-0"
116116
>
117-
<span class="text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
117+
<span class="self-start text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
118118
<code class="font-mono text-sm min-w-0"
119119
><span
120120
v-for="(part, i) in getInstallPartsForPM(pm.id)"
@@ -141,7 +141,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
141141
:data-pm-cmd="pm.id"
142142
class="flex items-center gap-2 min-w-0"
143143
>
144-
<span class="text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
144+
<span class="self-start text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
145145
<code class="font-mono text-sm min-w-0"
146146
><span
147147
v-for="(part, i) in getTypesInstallPartsForPM(pm.id)"
@@ -176,7 +176,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
176176
:data-pm-cmd="pm.id"
177177
class="flex items-center gap-2 group/runcmd"
178178
>
179-
<span class="text-fg-subtle font-mono text-sm select-none">$</span>
179+
<span class="self-start text-fg-subtle font-mono text-sm select-none">$</span>
180180
<code class="font-mono text-sm"
181181
><span
182182
v-for="(part, i) in getRunPartsForPM(pm.id, executableInfo?.primaryCommand)"
@@ -221,7 +221,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
221221
:data-pm-cmd="pm.id"
222222
class="flex items-center gap-2 group/createcmd"
223223
>
224-
<span class="text-fg-subtle font-mono text-sm select-none">$</span>
224+
<span class="self-start text-fg-subtle font-mono text-sm select-none">$</span>
225225
<code class="font-mono text-sm"
226226
><span
227227
v-for="(part, i) in getCreatePartsForPM(pm.id)"

0 commit comments

Comments
 (0)