Skip to content

Commit

Permalink
fix: fix mobile nav styles when mobile nav is open
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 30, 2020
1 parent f0d65d1 commit a6f668a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/MobileHeader.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.container {
position: relative;
border-bottom: 1px solid var(--divider-color);
padding: 0 2rem;

width: 100vw;
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/MainLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const MainLayout = ({ children }) => {
/>
<div
css={css`
display: grid;
display: ${isMobileNavOpen ? 'none' : 'grid'};
grid-template-areas:
'sidebar content'
'sidebar footer';
Expand Down

0 comments on commit a6f668a

Please sign in to comment.