Fix vertical alignment
This commit is contained in:
parent
a69f040181
commit
bfd15a0be9
@ -180,7 +180,11 @@ function MembersTable(p: {
|
|||||||
flex: 5,
|
flex: 5,
|
||||||
renderCell(params) {
|
renderCell(params) {
|
||||||
if (!params.row.father)
|
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;
|
return genealogy.members.get(params.row.father)!.fullName;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -190,7 +194,11 @@ function MembersTable(p: {
|
|||||||
flex: 5,
|
flex: 5,
|
||||||
renderCell(params) {
|
renderCell(params) {
|
||||||
if (!params.row.mother)
|
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;
|
return genealogy.members.get(params.row.mother)!.fullName;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user