Skip to content

Commit

Permalink
chore: Fix mobile menu styling for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 1, 2020
1 parent 02138eb commit 6ea0fab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/components/HamburgerMenu.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ button.hamburgerMenu {
margin: 5px 0;
border-radius: 2px;
transition: 0.18s;

:global(.dark-mode) & {
background-color: var(--color-white);
}
}

&.isOpen {
Expand Down
3 changes: 1 addition & 2 deletions src/components/MobileHeader.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.container {
position: relative;
border-bottom: 1px solid var(--color-neutrals-100);
border-bottom: 1px solid var(--divider-color);
padding: 0 2rem;

width: 100vw;
Expand All @@ -25,5 +25,4 @@
height: calc(
100vh - (var(--height-mobile-nav-bar) + var(--height-global-header))
);
background-color: var(--color-white);
}

0 comments on commit 6ea0fab

Please sign in to comment.