Display all avatars as a circle
This commit is contained in:
parent
d2f5742231
commit
4c3119c9ec
|
@ -23,12 +23,11 @@ export function Avatar(props: {
|
||||||
{avatarUrl ? (
|
{avatarUrl ? (
|
||||||
<img
|
<img
|
||||||
className={clsx(
|
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'
|
!noLink && 'cursor-pointer'
|
||||||
)}
|
)}
|
||||||
src={avatarUrl}
|
src={avatarUrl}
|
||||||
width={40}
|
|
||||||
height={40}
|
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
alt={username}
|
alt={username}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user