Skip to content

Commit

Permalink
Merge pull request #124 from MOVIEJOJO7/Feature/#120
Browse files Browse the repository at this point in the history
Fix: 프로필 사진 디자인 수정
  • Loading branch information
JitHoon authored Nov 17, 2023
2 parents 9e04e1d + f4fa035 commit c26f0c7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Components/Chat/Chats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ const Chats = ({
</li>
) : (
<li key={message.id} className="flex m-2 place-self-start">
<Image
src={user.picture}
width={50}
height={50}
alt="User Picture"
onClick={useModal ? openProfile : undefined}
className="shadow-gray-100 shadow-md rounded-xl"
/>
<div className="relative w-[45px] h-[45px] overflow-hidden">
<Image
src={user.picture}
layout={'fill'}
objectFit={'cover'}
alt="User Picture"
onClick={useModal ? openProfile : undefined}
className="shadow-gray-100 shadow-md rounded-full"
/>
</div>
<div className="flex flex-col ml-2">
<p className="text-xs">{user.username}</p>
<p className="mt-1 px-5 py-2 text-sm text-white bg-pink-200 rounded-xl">
Expand Down

0 comments on commit c26f0c7

Please sign in to comment.