app: fix new PageLayout layout

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-12 11:29:28 +01:00
parent e0b3d2aa70
commit 133dff7320
2 changed files with 11 additions and 5 deletions
@@ -150,10 +150,8 @@ export function TreeVisualizer() {
return (
<Flex
style={{
flex: '1 1 0',
height: '100%',
overflow: 'hidden',
justifyContent: 'stretch',
alignItems: 'stretch',
}}
>
<DependencyGraph
+10 -2
View File
@@ -85,9 +85,17 @@ export const PageLayout = SwappableComponentBlueprint.make({
tabs={tabs}
customActions={headerActions}
/>
<Flex direction="column" style={{ flexGrow: 1, minHeight: 0 }}>
<main
style={{
flex: '1 1 0',
minHeight: 0,
overflow: 'auto',
padding: 0,
margin: 0,
}}
>
{children}
</Flex>
</main>
</Flex>
);
},