Skip to content

Commit 425ef63

Browse files
committed
fix: set spans to block in account menu
1 parent e7abc86 commit 425ef63

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/components/Header/AccountMenu.client.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function openAuthModal() {
164164
<span class="i-carbon-terminal w-4 h-4 text-fg-muted" aria-hidden="true" />
165165
</span>
166166
<span class="flex-1 min-w-0">
167-
<span class="font-mono text-sm text-fg truncate">~{{ npmUser }}</span>
167+
<span class="font-mono text-sm text-fg truncate block">~{{ npmUser }}</span>
168168
<span class="text-xs text-fg-subtle">{{ $t('account_menu.npm_cli') }}</span>
169169
</span>
170170
<span
@@ -207,7 +207,9 @@ function openAuthModal() {
207207
<span class="i-carbon-cloud w-4 h-4 text-fg-muted" aria-hidden="true" />
208208
</span>
209209
<span class="flex-1 min-w-0">
210-
<span class="font-mono text-sm text-fg truncate">@{{ atprotoUser.handle }}</span>
210+
<span class="font-mono text-sm text-fg truncate block"
211+
>@{{ atprotoUser.handle }}</span
212+
>
211213
<span class="text-xs text-fg-subtle">{{ $t('account_menu.atmosphere') }}</span>
212214
</span>
213215
</button>
@@ -237,7 +239,7 @@ function openAuthModal() {
237239
<span v-else class="i-carbon-terminal w-4 h-4 text-fg-muted" aria-hidden="true" />
238240
</span>
239241
<span class="flex-1 min-w-0">
240-
<span class="font-mono text-sm text-fg">
242+
<span class="font-mono text-sm text-fg block">
241243
{{
242244
isNpmConnecting
243245
? $t('account_menu.connecting')
@@ -259,7 +261,7 @@ function openAuthModal() {
259261
<span class="i-carbon-cloud w-4 h-4 text-fg-muted" aria-hidden="true" />
260262
</span>
261263
<span class="flex-1 min-w-0">
262-
<span class="font-mono text-sm text-fg">
264+
<span class="font-mono text-sm text-fg block">
263265
{{ $t('account_menu.connect_atmosphere') }}
264266
</span>
265267
<span class="text-xs text-fg-subtle">{{ $t('account_menu.atmosphere_desc') }}</span>

0 commit comments

Comments
 (0)