Skip to content

Commit

Permalink
fix(docz-theme-default): overlay just for mobile resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Apr 15, 2019
1 parent 8ae97d3 commit a927389
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const Sidebar: SFC = () => {
}

const handleSidebarToggle = () => {
if (isDesktop) return
setHidden(s => !s)
addOverlayClass(!hidden)
}
Expand Down

0 comments on commit a927389

Please sign in to comment.