refactor(nui): Layout improvements

This commit is contained in:
Luke committed 2022-01-02 00:54:39 +01:00
1 parent ed03361f61
commit 2c15418011
5 files changed
+35 -12

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@ import { Box, Center } from '@chakra-ui/react';
const MainContent: React.FC = ({ children }) => {
return (
<>
<Center h="95%">
<Box h="100%" w="95%" backgroundColor="#1B2129">
<Center h="95%" alignItems="stretch">
<Box h="100%" w="50%" backgroundColor="#1B2129" flex="1">
{children}
</Box>
</Center>