Skip to content

Commit 3c0223b

Browse files
authored
fix: align shell prompt $ for multiple lines command (#1313)
1 parent f0e38c1 commit 3c0223b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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)