styles update
parent
3a78c63bc6
commit
9b58bc5048
|
@ -7,12 +7,24 @@ import PageNotFound from "./PageNotFound";
|
||||||
import { ToastContainer } from "react-toastify";
|
import { ToastContainer } from "react-toastify";
|
||||||
import "react-toastify/dist/ReactToastify.css";
|
import "react-toastify/dist/ReactToastify.css";
|
||||||
import SessionContainer from "../features/session/components/SessionContainer";
|
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() {
|
function App() {
|
||||||
|
const classes = useStyles();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Header />
|
<Header />
|
||||||
<br />
|
<br />
|
||||||
|
<Container className={classes.content}>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route exact path="/" component={HomePage} />
|
<Route exact path="/" component={HomePage} />
|
||||||
<Route path="/about" component={AboutPage} />
|
<Route path="/about" component={AboutPage} />
|
||||||
|
@ -20,6 +32,7 @@ function App() {
|
||||||
<Route component={PageNotFound} />
|
<Route component={PageNotFound} />
|
||||||
</Switch>
|
</Switch>
|
||||||
<ToastContainer autoClose={3000} />
|
<ToastContainer autoClose={3000} />
|
||||||
|
</Container>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#app {
|
#app {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-left: 50px;
|
|
||||||
padding-right: 50px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
|
Loading…
Reference in New Issue