From f42553f8cb3d1195ddcae1c6f3918a8950e85f72 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 26 May 2021 15:40:25 +0530 Subject: [PATCH] Add avatar size for design Signed-off-by: RMidhunSuresh --- src/platform/web/ui/css/avatar.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/platform/web/ui/css/avatar.css b/src/platform/web/ui/css/avatar.css index 6e68236f..b2405896 100644 --- a/src/platform/web/ui/css/avatar.css +++ b/src/platform/web/ui/css/avatar.css @@ -37,6 +37,7 @@ limitations under the License. } /* work around postcss-css-variables limitations and repeat variable usage */ + .hydrogen .avatar.size-128 { --avatar-size: 128px; width: var(--avatar-size); @@ -53,6 +54,14 @@ limitations under the License. font-size: calc(var(--avatar-size) * 0.6); } +.hydrogen .avatar.size-52 { + --avatar-size: 52px; + width: var(--avatar-size); + height: var(--avatar-size); + line-height: var(--avatar-size); + font-size: calc(var(--avatar-size) * 0.6); +} + .hydrogen .avatar.size-30 { --avatar-size: 30px; width: var(--avatar-size);