diff --git a/src/lib/components/navbar.svelte b/src/lib/components/navbar.svelte index 419899c2f..78e18d60b 100644 --- a/src/lib/components/navbar.svelte +++ b/src/lib/components/navbar.svelte @@ -8,7 +8,8 @@ Card, ActionList, Input, - Button + Button, + Avatar } from '@appwrite.io/pink-svelte'; import { toggleCommandCenter } from '$lib/commandCenter/commandCenter.svelte'; import type { BaseNavbarProps } from '@appwrite.io/pink-svelte/dist/navbar/Base.svelte'; @@ -129,7 +130,7 @@ { showAccountMenu = !showAccountMenu; - }}>{'Avatar'} + }}> {#if showAccountMenu}
@@ -246,17 +247,10 @@ display: flex; gap: var(--space-5, 10px); } - - img { - max-inline-size: none; - max-block-size: none; - } } - .avatar { - width: 32px; - aspect-ratio: 1 /1; - border-radius: var(--border-radius-circle, 99999px); + :global(.right button) { + flex-shrink: 0; } .sideNavToggle {