fix: set an avatar icon size relative to the container

This commit is contained in:
Bettenbuk Zoltan
2019-11-27 10:39:00 +01:00
committed by Zoltan Bettenbuk
parent b64294af6d
commit 8eb93086bd

View File

@@ -43,7 +43,9 @@ export default class StatelessAvatar extends AbstractStatelessAvatar<Props> {
className = { this._getAvatarClassName() }
id = { this.props.id }
style = { this._getAvatarStyle(this.props.color) }>
<Icon src = { url } />
<Icon
size = '50%'
src = { url } />
</div>
);
}