diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-15 23:48:39 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-15 23:48:39 +0800 |
commit | c9a0c7872de22cf33f1cb82cf504d0df6923d0e8 (patch) | |
tree | c5af7ca7320e1a623741bbd670b7749692366837 /packages/website/ts/pages | |
parent | a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7 (diff) | |
download | dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar.gz dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar.zst dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.zip |
Chore: Only render one sidebar at a time
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/documentation/developers_page.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/developers_page.tsx b/packages/website/ts/pages/documentation/developers_page.tsx index 12c00b440..042d80c61 100644 --- a/packages/website/ts/pages/documentation/developers_page.tsx +++ b/packages/website/ts/pages/documentation/developers_page.tsx @@ -115,7 +115,7 @@ export class DevelopersPage extends React.Component<DevelopersPageProps, Develop : sidebarPadding, }} > - {this.props.sidebar} + {this.props.screenWidth !== ScreenWidths.Sm && this.props.sidebar} </div> </div> </Container> @@ -128,6 +128,7 @@ export class DevelopersPage extends React.Component<DevelopersPageProps, Develop <Container paddingLeft={mainContentPadding} paddingRight={mainContentPadding}> <DocsTopBar location={this.props.location} + screenWidth={this.props.screenWidth} translate={this.props.translate} sidebar={this.props.sidebar} /> |