Display all avatars as a circle
This commit is contained in:
parent
d2f5742231
commit
4c3119c9ec
|
@ -23,12 +23,11 @@ export function Avatar(props: {
|
|||
{avatarUrl ? (
|
||||
<img
|
||||
className={clsx(
|
||||
'rounded-full bg-gray-400 flex items-center justify-center',
|
||||
'rounded-full flex items-center justify-center object-cover',
|
||||
`w-${s} h-${s}`,
|
||||
!noLink && 'cursor-pointer'
|
||||
)}
|
||||
src={avatarUrl}
|
||||
width={40}
|
||||
height={40}
|
||||
onClick={onClick}
|
||||
alt={username}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user