Skip to content

Commit

Permalink
bugfix: profile picture shrink 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sayinmehmet47 committed Nov 26, 2023
1 parent fba53e9 commit 8c6125a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/components/ui/user-avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ export function UserNav({
{username ? (
username.slice(0, 2).toUpperCase()
) : (
<Button variant="ghost" className="text-muted-foreground">
<Button
variant="ghost"
className="text-muted-foreground shrink-0"
>
Login
</Button>
)}
Expand Down

1 comment on commit 8c6125a

@vercel
Copy link

@vercel vercel bot commented on 8c6125a Nov 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.