Fix account route alignment
This commit is contained in:
parent
a24eb02dc4
commit
0758e66d4f
@ -73,7 +73,7 @@ export function AccountRoute(): React.ReactElement {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div style={{ display: "flex", flexDirection: "column", flex: 1 }}>
|
<div style={{ display: "flex", flexDirection: "column", flex: 1 }}>
|
||||||
<div style={{ flex: 1 }}>
|
<div style={{ flex: 1, display: "flex", flexDirection: "column" }}>
|
||||||
<AsyncWidget
|
<AsyncWidget
|
||||||
loadKey={`${account.id}-${loadKey.current}`}
|
loadKey={`${account.id}-${loadKey.current}`}
|
||||||
load={load}
|
load={load}
|
||||||
@ -273,7 +273,7 @@ function MovementsTable(p: {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div>
|
<div style={{ display: "flex", justifyContent: "end" }}>
|
||||||
<Tooltip title="Delete all the selected entries">
|
<Tooltip title="Delete all the selected entries">
|
||||||
<IconButton
|
<IconButton
|
||||||
disabled={
|
disabled={
|
||||||
@ -286,6 +286,7 @@ function MovementsTable(p: {
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
<div style={{ flex: 1 }}>
|
||||||
<DataGrid<Movement>
|
<DataGrid<Movement>
|
||||||
columns={columns}
|
columns={columns}
|
||||||
rows={p.movements}
|
rows={p.movements}
|
||||||
@ -317,6 +318,7 @@ function MovementsTable(p: {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user