Fix icons alignment

This commit is contained in:
Pierre HUBERT 2024-05-15 18:40:00 +02:00
parent cd7462ffb1
commit c6b518d8de
2 changed files with 14 additions and 2 deletions

View File

@ -132,7 +132,13 @@ function CouplesTable(p: {
sortable: false,
width: 60,
renderCell(params) {
return <CouplePhoto couple={params.row} />;
return (
<div
style={{ display: "flex", alignItems: "center", height: "100%" }}
>
<CouplePhoto couple={params.row} />
</div>
);
},
},

View File

@ -113,7 +113,13 @@ function MembersTable(p: {
sortable: false,
width: 60,
renderCell(params) {
return <MemberPhoto member={params.row} />;
return (
<div
style={{ display: "flex", alignItems: "center", height: "100%" }}
>
<MemberPhoto member={params.row} />
</div>
);
},
},