From 79c05e8381ea194514b1a92e9df3098e224a788f Mon Sep 17 00:00:00 2001 From: mareklach Date: Mon, 6 Dec 2021 14:48:05 +0000 Subject: [PATCH 1/2] Proper scaling of the default image, when a user doesn't have custom avatar --- assets/themes/default/_global.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/themes/default/_global.scss b/assets/themes/default/_global.scss index d802a709..35380919 100644 --- a/assets/themes/default/_global.scss +++ b/assets/themes/default/_global.scss @@ -467,7 +467,7 @@ figure { /// Avatars .avatar { - background-position: center; + background-position: center top; background-size: cover; border-radius: 100%; @@ -605,4 +605,4 @@ code { .function{ color:inherit; } -} +} \ No newline at end of file From 7c1df8069530526061817dfac86ed830c7ddad7d Mon Sep 17 00:00:00 2001 From: mareklach Date: Mon, 6 Dec 2021 15:15:28 +0000 Subject: [PATCH 2/2] Update 'assets/themes/default/_global.scss' --- assets/themes/default/_global.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/themes/default/_global.scss b/assets/themes/default/_global.scss index 867dffe7..e96e6d79 100644 --- a/assets/themes/default/_global.scss +++ b/assets/themes/default/_global.scss @@ -472,9 +472,10 @@ figure { /// Avatars .avatar { - background-position: center top; + background-position: center !important; background-size: cover; border-radius: 100%; + flex-shrink: 0; &.small { width: 50px;