Skip to content

Commit

Permalink
fix: allow scrolling sidenav
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Jun 3, 2019
1 parent cba31f4 commit 850d33e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import mq from '../../util/media-queries';

const LeftNavWrapper = styled.div(({ expanded, shouldHideHeader }) => ({
transition: 'transform 0.15s cubic-bezier(0.2, 0.2, 0.38, 0.9), top 110ms',
height: '100vh',
width: '256px',
position: 'fixed',
left: 0,
top: shouldHideHeader ? '0px' : '48px',
bottom: 0,
overflow: 'auto',
scrollbarWidth: 'none',
zIndex: 10000, // z('floating')
transform: expanded ? 'translateX(0px)' : 'translateX(-256px)',
'.bx--side-nav.bx--side-nav--website': {
Expand Down

0 comments on commit 850d33e

Please sign in to comment.