App: make the main container flex so we can nicely fill pages.

master
Tom Hacohen 2020-09-07 15:51:03 +03:00
parent 12f5f482cd
commit cb35557565
1 changed files with 3 additions and 1 deletions

View File

@ -186,11 +186,13 @@ export default function App() {
},
});
const styles = {
const styles: {[key: string]: React.CSSProperties} = {
main: {
backgroundColor: muiTheme.palette.background.default,
color: muiTheme.palette.text.primary,
flexGrow: 1,
display: "flex",
flexDirection: "column",
},
};