Fix vertical alignment
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Pierre HUBERT 2024-05-16 21:07:26 +02:00
parent a69f040181
commit bfd15a0be9

View File

@ -180,7 +180,11 @@ function MembersTable(p: {
flex: 5,
renderCell(params) {
if (!params.row.father)
return <Typography color="red">Non renseigné</Typography>;
return (
<Typography color="red" component="span" variant="body2">
Non renseigné
</Typography>
);
return genealogy.members.get(params.row.father)!.fullName;
},
},
@ -190,7 +194,11 @@ function MembersTable(p: {
flex: 5,
renderCell(params) {
if (!params.row.mother)
return <Typography color="red">Non renseignée</Typography>;
return (
<Typography color="red" component="span" variant="body2">
Non renseignée
</Typography>
);
return genealogy.members.get(params.row.mother)!.fullName;
},
},