Skip to content

Commit c283f2d

Browse files
committed
fix avatar
1 parent cdbf382 commit c283f2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/js/components/AppHeader.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ const rightNavItems: NavItem[] = [
161161
<DropdownMenu>
162162
<DropdownMenuTrigger :as-child="true">
163163
<Button variant="ghost" size="icon" class="relative h-9 w-auto rounded-md px-1">
164-
<span
165-
><img v-if="auth.user?.avatar" :src="auth.user.avatar" :alt="auth.user.name" class="rounded-full" />
164+
<span>
165+
<img v-if="auth.user?.avatar" :src="auth.user.avatar" :alt="auth.user.name" class="h-8 w-8 rounded-lg" />
166166
<span
167-
v-else
168167
class="flex h-7 w-7 items-center justify-center rounded-md bg-primary/10 text-sm font-medium text-primary"
168+
v-else
169169
>
170170
{{ getInitials(auth.user?.name) }}
171171
</span>

0 commit comments

Comments
 (0)