diff --git a/src/App.tsx b/src/App.tsx index 12957f6..1ac3549 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -181,10 +181,18 @@ class App extends React.PureComponent { const fetching = this.props.fetchCount > 0; + const styles = { + main: { + backgroundColor: muiTheme.palette.background.default, + color: muiTheme.palette.text.primary, + flexGrow: 1 + }, + }; + return ( -
+
} iconElementRight={ diff --git a/src/index.css b/src/index.css index 3d3a949..0d68a5b 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,8 @@ +html, +body { + height: 100%; +} + body { margin: 0; padding: 0; @@ -19,4 +24,9 @@ body:before { #root { background-color: white; + + min-height: 100%; + background-color: #f0f0f0; + display: flex; + flex-direction: column; }