From 69c01b69f6e57de43533215a6d76f14b355ec419 Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Wed, 26 Jul 2023 17:22:43 +0530 Subject: [PATCH] fix: responsive upload avatar (#10392) * fix: responsive upload avatar Signed-off-by: Udit Takkar * Update ImageUploader.tsx Move title to the DialogContent title prop instead of the content. --------- Signed-off-by: Udit Takkar Co-authored-by: Alex van Andel --- .../ui/components/image-uploader/ImageUploader.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/ui/components/image-uploader/ImageUploader.tsx b/packages/ui/components/image-uploader/ImageUploader.tsx index 82918e8e80..99c495eba6 100644 --- a/packages/ui/components/image-uploader/ImageUploader.tsx +++ b/packages/ui/components/image-uploader/ImageUploader.tsx @@ -173,14 +173,7 @@ export default function ImageUploader({ {buttonMsg} - -
-
- -
-
+
{!result && ( @@ -210,7 +203,7 @@ export default function ImageUploader({
- + showCroppedImage(croppedAreaPixels)}> {t("save")}