Skip to content

Commit

Permalink
fix: user profile getting elongated
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhkunwar11 committed Dec 21, 2021
1 parent fec290b commit 5eba8f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions component/profile/ProfileDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export default function ProfileDetails({ userData, userCurrentLogin }) {
{/* picture */}
<div className="relative">
<div className="rounded-full h-24 w-24 bg-blue-200 overflow-hidden">
<Image
<img
src={userData?.avatar || '/images/dummy0.png' }
alt="avatar"
className="rounded-full h-24 w-24"
className="rounded-full max-h-24 max-w-24"
layout="fill"
/>
</div>
Expand Down

0 comments on commit 5eba8f2

Please sign in to comment.