diff --git a/src/components/GlobalHeader.module.scss b/src/components/GlobalHeader.module.scss
index 666bcc10b..5978ba7e3 100644
--- a/src/components/GlobalHeader.module.scss
+++ b/src/components/GlobalHeader.module.scss
@@ -124,7 +124,7 @@
@media screen and (max-width: 1240px) {
.global-header-container {
- padding: 0 28px;
+ padding: 0 1rem;
}
}
diff --git a/src/components/Layout.js b/src/components/Layout.js
index dbe9784cf..857496e05 100644
--- a/src/components/Layout.js
+++ b/src/components/Layout.js
@@ -12,7 +12,7 @@ const Layout = ({ children }) => (
<>
-
+
{children}
diff --git a/src/components/Layout.module.scss b/src/components/Layout.module.scss
index a951221fb..ee84aaee6 100644
--- a/src/components/Layout.module.scss
+++ b/src/components/Layout.module.scss
@@ -5,4 +5,22 @@
grid-gap: 1rem;
max-width: 1200px;
margin: 0 auto;
+ padding-top: 1rem;
+}
+
+@media (max-width: 760px) {
+ .layout {
+ display: block;
+ }
+
+ .sidebar {
+ display: none;
+ }
+}
+
+@media screen and (max-width: 1240px) {
+ .layout {
+ padding-left: 1rem;
+ padding-right: 1rem;
+ }
}
diff --git a/src/components/Sidebar.js b/src/components/Sidebar.js
index a8e8b7353..dd1f4a5cf 100644
--- a/src/components/Sidebar.js
+++ b/src/components/Sidebar.js
@@ -49,8 +49,8 @@ const renderNav = (pages, depthLevel = 0) => {
});
};
-const Sidebar = ({ className, pages, isOpen }) => (
-