[CAL-106] /onboarding - UI issues & small improvements (#5396)
Co-authored-by: gitstart <[email protected]> Co-authored-by: Nitesh Singh <[email protected]> Co-authored-by: Matheus Benini Ferreira <[email protected]> Co-authored-by: Matheus Muniz <[email protected]> Co-authored-by: Murilo Amaral <[email protected]> Co-authored-by: Rafael Toledo <[email protected]> Co-authored-by: Thiago Nascimbeni <[email protected]> Co-authored-by: Rubens Rafael <[email protected]> Co-authored-by: Matheus Muniz <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -102,8 +102,7 @@ const UserProfile = (props: IUserProfile) => {
|
||||
|
||||
return (
|
||||
<form onSubmit={onSubmit}>
|
||||
<p className="font-cal text-sm">{t("profile_picture")}</p>
|
||||
<div className="mt-4 flex flex-row items-center justify-start rtl:justify-end">
|
||||
<div className="flex flex-row items-center justify-start rtl:justify-end">
|
||||
{user && <AvatarSSR user={user} alt="Profile picture" className="h-16 w-16" />}
|
||||
<input
|
||||
ref={avatarRef}
|
||||
@@ -118,7 +117,7 @@ const UserProfile = (props: IUserProfile) => {
|
||||
<ImageUploader
|
||||
target="avatar"
|
||||
id="avatar-upload"
|
||||
buttonMsg={t("upload")}
|
||||
buttonMsg={t("add_profile_photo")}
|
||||
handleAvatarChange={(newAvatar) => {
|
||||
avatarRef.current.value = newAvatar;
|
||||
const nativeInputValueSetter = Object.getOwnPropertyDescriptor(
|
||||
|
||||
Reference in new issue
Block a user