Fix table resize issue

This commit is contained in:
Pierre HUBERT 2025-03-19 21:27:31 +01:00
parent b15b993539
commit ef26dccb04
2 changed files with 13 additions and 3 deletions

View File

@ -29,7 +29,6 @@ export function BaseAuthenticatedPage(): React.ReactElement {
const load = async () => { const load = async () => {
setAuthInfo(await AuthApi.GetAuthInfo()); setAuthInfo(await AuthApi.GetAuthInfo());
}; };
return ( return (
<AsyncWidget <AsyncWidget
loadKey="1" loadKey="1"
@ -72,7 +71,15 @@ export function BaseAuthenticatedPage(): React.ReactElement {
}} }}
> >
<MoneyNavList /> <MoneyNavList />
<div style={{ flex: 1, display: "flex" }}> <div
style={{
flexGrow: 1,
flexShrink: 0,
flexBasis: 0,
minWidth: 0,
display: "flex",
}}
>
<Outlet /> <Outlet />
</div> </div>
</Box> </Box>

View File

@ -11,7 +11,10 @@ export function MoneyMgrWebRouteContainer(
<div <div
style={{ style={{
margin: "50px", margin: "50px",
flex: "1", flexGrow: 1,
flexShrink: 0,
flexBasis: 0,
minWidth: 0,
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
}} }}