Realigning avatar on User Management Page (#475)

This commit is contained in:
Kyle Knight 2016-11-14 09:28:15 -06:00 committed by GitHub
parent cd2981e76b
commit feb9f38a6d

View File

@ -19,9 +19,8 @@ class Avatar extends React.Component<IAvatarInterface, IAvatarState> {
render (): JSX.Element {
const { className, size, user } = this.props;
const isSmall = size && size.toLowerCase() === 'small';
const avatarClasses = classnames(baseClass, {
const avatarClasses = classnames(baseClass, className, {
[`${baseClass}--${size}`]: isSmall,
className,
});
const { gravatarURL } = user;