diff --git a/src/components/Header.js b/src/components/Header.js index fb579a2ca..46a0ecb28 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -10,38 +10,40 @@ const Header = () => { return (
- +
+ - setIsOpen(!isOpen)} - isOpen={isOpen} - /> + setIsOpen(!isOpen)} + isOpen={isOpen} + /> +
); }; diff --git a/src/components/Layout.js b/src/components/Layout.js index c1eaf0a87..26e3ed0ba 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -1,5 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; +import cx from 'classnames'; import Footer from './Footer'; import Header from './Header'; @@ -11,7 +12,7 @@ import './styles.scss'; const Layout = ({ children }) => (
-
+
{children}
diff --git a/src/components/Layout.module.scss b/src/components/Layout.module.scss index 1a4a03914..d0f410ba7 100644 --- a/src/components/Layout.module.scss +++ b/src/components/Layout.module.scss @@ -7,8 +7,6 @@ .main { display: grid; grid-template-columns: auto minmax(0, 1fr); - max-width: 1460px; - margin: 0 auto; width: 100%; } diff --git a/src/components/styles.scss b/src/components/styles.scss index a8f01e2de..ff76d0fb7 100644 --- a/src/components/styles.scss +++ b/src/components/styles.scss @@ -182,7 +182,7 @@ code { } .site-container { - max-width: 1200px; + max-width: 1460px; margin: auto; } }