[bugfix] set avatars to cover available space
no more squashed avatars
This commit is contained in:
@@ -28,7 +28,8 @@ export const Avatar: React.FC<Props> = ({
|
||||
...styleFromParent,
|
||||
width: `${size}px`,
|
||||
height: `${size}px`,
|
||||
backgroundSize: `${size}px ${size}px`,
|
||||
backgroundSize: `cover`,
|
||||
backgroundPosition: `center`,
|
||||
};
|
||||
|
||||
if (account) {
|
||||
|
||||
Reference in New Issue
Block a user