diff options
Diffstat (limited to 'subprojects/frontend/src/App.tsx')
-rw-r--r-- | subprojects/frontend/src/App.tsx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/subprojects/frontend/src/App.tsx b/subprojects/frontend/src/App.tsx index 12c66eb9..3a25f43a 100644 --- a/subprojects/frontend/src/App.tsx +++ b/subprojects/frontend/src/App.tsx | |||
@@ -1,23 +1,14 @@ | |||
1 | import Box from '@mui/material/Box'; | 1 | import Stack from '@mui/material/Stack'; |
2 | import Toolbar from '@mui/material/Toolbar'; | ||
3 | import React from 'react'; | 2 | import React from 'react'; |
4 | 3 | ||
5 | import TopBar from './TopBar'; | 4 | import TopBar from './TopBar'; |
6 | import EditorArea from './editor/EditorArea'; | 5 | import EditorPane from './editor/EditorPane'; |
7 | import EditorButtons from './editor/EditorButtons'; | ||
8 | import GenerateButton from './editor/GenerateButton'; | ||
9 | 6 | ||
10 | export default function App(): JSX.Element { | 7 | export default function App(): JSX.Element { |
11 | return ( | 8 | return ( |
12 | <Box display="flex" flexDirection="column" sx={{ height: '100vh' }}> | 9 | <Stack direction="column" height="100vh" overflow="auto"> |
13 | <TopBar /> | 10 | <TopBar /> |
14 | <Toolbar variant="dense"> | 11 | <EditorPane /> |
15 | <EditorButtons /> | 12 | </Stack> |
16 | <GenerateButton /> | ||
17 | </Toolbar> | ||
18 | <Box flexGrow={1} flexShrink={1} overflow="auto"> | ||
19 | <EditorArea /> | ||
20 | </Box> | ||
21 | </Box> | ||
22 | ); | 13 | ); |
23 | } | 14 | } |