Skip to content

Commit

Permalink
fix(ZNTA-1922): avoid extra padding between content and sidebar
Browse files Browse the repository at this point in the history
This was introduced by a change in react-sidebar:
balloob/react-sidebar@8f2e240
  • Loading branch information
davidmason committed Jun 15, 2017
1 parent 13ac947 commit 715b8c4
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -60,6 +60,12 @@ class Sidebar extends Component {
pullRight
onSetOpen={this.setOpen}
shadow
styles={{
content: {
// prevents unwanted padding to the right from default 'scroll'
overflowY: 'auto'
}
}}
sidebarClassName="sidebar-editor">
{this.props.children}
</ReactSidebar>
Expand Down

0 comments on commit 715b8c4

Please sign in to comment.