From 00c0212c0308b56f08e06068a88f1600ebdb87a2 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Mon, 27 Apr 2020 17:35:52 +0100 Subject: [PATCH] Revert previous fix --- src/components/views/avatars/BaseAvatar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/avatars/BaseAvatar.js b/src/components/views/avatars/BaseAvatar.js index 79296cf0cd..81fbc08c0f 100644 --- a/src/components/views/avatars/BaseAvatar.js +++ b/src/components/views/avatars/BaseAvatar.js @@ -210,8 +210,8 @@ export default createReactClass({ onClick={onClick} onError={this.onError} style={{ - width: {width}, - height: {height}, + width: toRem(width), + height: toRem(height), }} title={title} alt="" inputRef={inputRef}