Skip to content

Commit 8edb91b

Browse files
committed
fix: update AccountMenu server fallback to prevent layout shift
1 parent 2a43929 commit 8edb91b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<template>
2-
<div class="flex items-center justify-end gap-2 px-2 py-1.5 min-w-24">
3-
<span class="font-mono text-sm text-fg-muted">{{ $t('account_menu.connect') }}</span>
4-
<span class="i-carbon-chevron-down w-3 h-3 text-fg-muted" aria-hidden="true" />
2+
<div class="relative flex min-w-24 justify-end">
3+
<div
4+
class="inline-flex gap-x-1 items-center justify-center font-mono border border-border rounded-md text-sm px-4 py-2 bg-transparent text-fg border-none"
5+
>
6+
<span class="font-mono text-sm text-fg-muted">{{ $t('account_menu.connect') }}</span>
7+
<span class="i-carbon-chevron-down w-3 h-3 text-fg-muted" aria-hidden="true" />
8+
</div>
59
</div>
610
</template>

0 commit comments

Comments
 (0)