Skip to content

Commit 347a50c

Browse files
authored
fix(layout): Align user menu header with its items (#437)
1 parent ba830ab commit 347a50c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎src/lib/components/layout/header/UserMenu.svelte‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@
3636
tabindex="0"
3737
class="dropdown-content menu bg-base-100 border-base-300 z-10 w-56 rounded-lg border p-1 shadow-lg"
3838
>
39-
<li class="px-3 py-2">
39+
<li class="menu-title">
4040
<p class="text-base-content truncate text-sm font-semibold">{user.name}</p>
41-
<p class="text-muted truncate text-xs">{user.email}</p>
41+
<p class="text-muted truncate text-xs font-normal">{user.email}</p>
4242
</li>
43-
<li><hr class="border-base-300 my-1" /></li>
44-
<li class="mt-4">
43+
<li class="border-base-300 mt-1 border-t pt-1">
4544
<a href={resolve('/auth/logout')} class="text-sm">
4645
<IconLogout class="h-4 w-4" aria-hidden="true" />
4746
{m.header_sign_out()}

0 commit comments

Comments
 (0)