From db6443b427b0ccefb1bac45d2e34c9721809303a Mon Sep 17 00:00:00 2001 From: Tim Glaser Date: Tue, 16 Jun 2020 17:04:56 -0700 Subject: [PATCH] feat: Hide sidenav for small widths --- src/components/GlobalHeader.module.scss | 2 +- src/components/Layout.js | 2 +- src/components/Layout.module.scss | 18 ++++++++++++++++++ src/components/Sidebar.js | 9 ++------- src/components/Sidebar.module.scss | 16 ---------------- 5 files changed, 22 insertions(+), 25 deletions(-) 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}