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

master
Tom Hacohen 4 years ago
parent 12f5f482cd
commit cb35557565

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

Loading…
Cancel
Save