Use different aspect ratio for single member and couple
This commit is contained in:
@ -376,6 +376,7 @@ export function CouplePage(p: {
|
||||
<UploadPhotoButton
|
||||
label={couple.hasPhoto ? "Remplacer" : "Ajouter"}
|
||||
onPhotoSelected={uploadNewPhoto}
|
||||
aspect={5 / 4}
|
||||
/>{" "}
|
||||
{couple.hasPhoto && (
|
||||
<RouterLink to={couple.photoURL!} target="_blank">
|
||||
|
@ -476,6 +476,7 @@ export function MemberPage(p: {
|
||||
<UploadPhotoButton
|
||||
label={member.hasPhoto ? "Remplacer" : "Ajouter"}
|
||||
onPhotoSelected={uploadNewPhoto}
|
||||
aspect={4 / 5}
|
||||
/>{" "}
|
||||
{member.hasPhoto && (
|
||||
<RouterLink to={member.photoURL!} target="_blank">
|
||||
|
Reference in New Issue
Block a user