From 4935b0820aaaa185980c9a900bce61ea6ae0ae7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 25 Nov 2024 19:01:20 +0100 Subject: [PATCH] pl-fe: make avatars squared MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/account.tsx | 4 ++-- packages/pl-fe/src/components/groups/group-avatar.tsx | 2 +- packages/pl-fe/src/components/ui/avatar.tsx | 4 ++-- .../features/edit-profile/components/avatar-picker.tsx | 8 ++------ .../pl-fe/src/features/group/components/group-header.tsx | 2 +- .../features/onboarding/steps/avatar-selection-step.tsx | 6 +++--- .../placeholder/components/placeholder-avatar.tsx | 2 +- .../placeholder/components/placeholder-group-card.tsx | 2 +- .../placeholder/components/placeholder-group-search.tsx | 2 +- .../modals/manage-group-modal/steps/confirmation-step.tsx | 2 +- .../pl-fe/src/features/ui/components/profile-dropdown.tsx | 2 +- 11 files changed, 16 insertions(+), 20 deletions(-) diff --git a/packages/pl-fe/src/components/account.tsx b/packages/pl-fe/src/components/account.tsx index df494d985..ba4434a90 100644 --- a/packages/pl-fe/src/components/account.tsx +++ b/packages/pl-fe/src/components/account.tsx @@ -203,7 +203,7 @@ const Account = ({
-
+
{emoji && ( {children}} > - + {emoji && ( { return ( { width: size, height: size, }} - className={clsx('flex items-center justify-center rounded-full bg-gray-200 dark:bg-gray-900', className)} + className={clsx('flex items-center justify-center rounded-lg bg-gray-200 dark:bg-gray-900', className)} > { return ( (({