Skip to content

Commit 2b19632

Browse files
authored
Merge pull request #2809 from rodsnts/fix-profile-pic-fit
fix: profile picture image fit
2 parents a99ac01 + 883e9f0 commit 2b19632

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/dokploy/components/dashboard/impersonation/impersonation-bar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ export const ImpersonationBar = () => {
281281
<div className="flex items-center gap-4 flex-1 flex-wrap">
282282
<Avatar className="h-10 w-10">
283283
<AvatarImage
284+
className="object-cover"
284285
src={data?.user?.image || ""}
285286
alt={data?.user?.name || ""}
286287
/>

apps/dokploy/components/layouts/user-nav.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export const UserNav = () => {
4444
>
4545
<Avatar className="h-8 w-8 rounded-lg">
4646
<AvatarImage
47+
className="object-cover"
4748
src={data?.user?.image || ""}
4849
alt={data?.user?.image || ""}
4950
/>

0 commit comments

Comments
 (0)