fix: set an avatar icon size relative to the container
This commit is contained in:
parent
b64294af6d
commit
8eb93086bd
|
@ -43,7 +43,9 @@ export default class StatelessAvatar extends AbstractStatelessAvatar<Props> {
|
||||||
className = { this._getAvatarClassName() }
|
className = { this._getAvatarClassName() }
|
||||||
id = { this.props.id }
|
id = { this.props.id }
|
||||||
style = { this._getAvatarStyle(this.props.color) }>
|
style = { this._getAvatarStyle(this.props.color) }>
|
||||||
<Icon src = { url } />
|
<Icon
|
||||||
|
size = '50%'
|
||||||
|
src = { url } />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue