${tw`sw-px-3`};
${tw`sw-body-sm`};
${tw`sw-h-control`};
- ${tw`sw-leading-4`};
+ ${tw`sw-leading-6`};
${tw`sw-cursor-pointer`};
&.is-discreet {
return {
value: user.login,
label: isUserActive(user) ? userInfo : translateWithParameters('user.x_deleted', userInfo),
- Icon: <Avatar hash={user.avatar} name={user.name} size="xs" />,
+ Icon: <Avatar hash={user.avatar} name={user.name} size="xs" className="sw-my-1" />,
};
}
{isUser(option) ? (
<>
<Avatar
- className={small ? 'sw-my-1/2' : ''}
+ className={small ? 'sw-my-1' : ''}
hash={option.avatar}
name={option.name}
size={small ? 'xs' : 'sm'}
) : (
<>
<GenericAvatar
- className={small ? 'sw-my-1/2' : ''}
+ className={small ? 'sw-my-1' : ''}
Icon={UserGroupIcon}
name={option.name}
size={small ? 'xs' : 'sm'}
const UNASSIGNED = { value: '', label: translate('unassigned') };
const renderAvatar = (name?: string, avatar?: string) => (
- <Avatar hash={avatar} name={name} size="xs" />
+ <Avatar hash={avatar} name={name} size="xs" className="sw-my-1" />
);
export default function IssueAssignee(props: Props) {