mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Realigning avatar on User Management Page (#475)
This commit is contained in:
parent
cd2981e76b
commit
feb9f38a6d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user