Display all avatars as a circle

This commit is contained in:
Austin Chen 2022-02-05 22:12:23 -08:00
parent d2f5742231
commit 4c3119c9ec

View File

@ -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}
/>