This commit is contained in:
Timothy Jaeryang Baek
2026-06-01 13:03:13 -07:00
parent 01810e32ad
commit 346dab3d8f
5 changed files with 30 additions and 15 deletions
+8 -4
View File
@@ -948,8 +948,10 @@
}
}}
>
<div
<button
type="button"
class=" cursor-pointer flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition group"
aria-label={$i18n.t('User menu')}
>
<div class="self-center relative">
<img
@@ -971,7 +973,7 @@
</div>
{/if}
</div>
</div>
</button>
</UserMenu>
{/if}
</div>
@@ -1608,8 +1610,10 @@
}
}}
>
<div
<button
type="button"
class=" flex items-center rounded-2xl py-2 px-1.5 w-full hover:bg-gray-100/50 dark:hover:bg-gray-900/50 transition"
aria-label={$i18n.t('User menu')}
>
<div class=" self-center mr-3 relative flex-shrink-0">
<img
@@ -1632,7 +1636,7 @@
{/if}
</div>
<div class=" self-center font-medium truncate">{$user?.name}</div>
</div>
</button>
</UserMenu>
{/if}
</div>
@@ -117,7 +117,6 @@
}}
/>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<Dropdown bind:show onOpenChange={handleDropdownChange} {align}>
<slot />