Skip to content

Commit

Permalink
Fix: Improve the sidebar scroll UX for touch devices (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor authored and sapegin committed Dec 3, 2017
1 parent b0851ba commit a0e1e29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rsg-components/StyleGuide/StyleGuideRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const styles = ({ color, fontFamily, fontSize, sidebarWidth, mq, space, maxWidth
bottom: 0,
width: sidebarWidth,
overflow: 'auto',
'-webkit-overflow-scrolling': 'touch',
[mq.small]: {
position: 'static',
width: 'auto',
Expand Down

0 comments on commit a0e1e29

Please sign in to comment.