Skip to content

Commit bae227e

Browse files
committed
fix: align shell prompt $ with first line
1 parent eeeb6b6 commit bae227e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/Terminal/Install.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
112112
:data-pm-cmd="pm.id"
113113
class="flex items-center gap-2 group/installcmd min-w-0"
114114
>
115-
<span class="text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
115+
<span class="self-start text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
116116
<code class="font-mono text-sm min-w-0"
117117
><span
118118
v-for="(part, i) in getInstallPartsForPM(pm.id)"
@@ -139,7 +139,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
139139
:data-pm-cmd="pm.id"
140140
class="flex items-center gap-2 min-w-0"
141141
>
142-
<span class="text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
142+
<span class="self-start text-fg-subtle font-mono text-sm select-none shrink-0">$</span>
143143
<code class="font-mono text-sm min-w-0"
144144
><span
145145
v-for="(part, i) in getTypesInstallPartsForPM(pm.id)"
@@ -174,7 +174,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
174174
:data-pm-cmd="pm.id"
175175
class="flex items-center gap-2 group/runcmd"
176176
>
177-
<span class="text-fg-subtle font-mono text-sm select-none">$</span>
177+
<span class="self-start text-fg-subtle font-mono text-sm select-none">$</span>
178178
<code class="font-mono text-sm"
179179
><span
180180
v-for="(part, i) in getRunPartsForPM(pm.id, executableInfo?.primaryCommand)"
@@ -219,7 +219,7 @@ const copyCreateCommand = () => copyCreate(getFullCreateCommand())
219219
:data-pm-cmd="pm.id"
220220
class="flex items-center gap-2 group/createcmd"
221221
>
222-
<span class="text-fg-subtle font-mono text-sm select-none">$</span>
222+
<span class="self-start text-fg-subtle font-mono text-sm select-none">$</span>
223223
<code class="font-mono text-sm"
224224
><span
225225
v-for="(part, i) in getCreatePartsForPM(pm.id)"

0 commit comments

Comments
 (0)