styles update

master
Tudor Stanciu 2020-05-13 22:51:15 +03:00
parent 3a78c63bc6
commit 9b58bc5048
2 changed files with 20 additions and 9 deletions

View File

@ -7,19 +7,32 @@ import PageNotFound from "./PageNotFound";
import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import SessionContainer from "../features/session/components/SessionContainer";
import { makeStyles } from "@material-ui/core/styles";
import { Container } from "@material-ui/core";
const useStyles = makeStyles(() => ({
content: {
"padding-left": "30px",
"padding-right": "30px"
}
}));
function App() {
const classes = useStyles();
return (
<div>
<Header />
<br />
<Switch>
<Route exact path="/" component={HomePage} />
<Route path="/about" component={AboutPage} />
<Route path="/sessions" component={SessionContainer} />
<Route component={PageNotFound} />
</Switch>
<ToastContainer autoClose={3000} />
<Container className={classes.content}>
<Switch>
<Route exact path="/" component={HomePage} />
<Route path="/about" component={AboutPage} />
<Route path="/sessions" component={SessionContainer} />
<Route component={PageNotFound} />
</Switch>
<ToastContainer autoClose={3000} />
</Container>
</div>
);
}

View File

@ -1,7 +1,5 @@
#app {
margin: 0 auto;
padding-left: 50px;
padding-right: 50px;
}
nav {