Fix account route alignment

This commit is contained in:
Pierre HUBERT 2025-04-28 18:49:01 +02:00
parent a24eb02dc4
commit 0758e66d4f

View File

@ -73,7 +73,7 @@ export function AccountRoute(): React.ReactElement {
}
>
<div style={{ display: "flex", flexDirection: "column", flex: 1 }}>
<div style={{ flex: 1 }}>
<div style={{ flex: 1, display: "flex", flexDirection: "column" }}>
<AsyncWidget
loadKey={`${account.id}-${loadKey.current}`}
load={load}
@ -273,7 +273,7 @@ function MovementsTable(p: {
return (
<>
<div>
<div style={{ display: "flex", justifyContent: "end" }}>
<Tooltip title="Delete all the selected entries">
<IconButton
disabled={
@ -286,6 +286,7 @@ function MovementsTable(p: {
</IconButton>
</Tooltip>
</div>
<div style={{ flex: 1 }}>
<DataGrid<Movement>
columns={columns}
rows={p.movements}
@ -317,6 +318,7 @@ function MovementsTable(p: {
}
}}
/>
</div>
</>
);
}