app: fix new PageLayout layout
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -150,10 +150,8 @@ export function TreeVisualizer() {
|
||||
return (
|
||||
<Flex
|
||||
style={{
|
||||
flex: '1 1 0',
|
||||
height: '100%',
|
||||
overflow: 'hidden',
|
||||
justifyContent: 'stretch',
|
||||
alignItems: 'stretch',
|
||||
}}
|
||||
>
|
||||
<DependencyGraph
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user