aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-15 23:48:39 +0800
committerFabio Berger <me@fabioberger.com>2018-10-15 23:48:39 +0800
commitc9a0c7872de22cf33f1cb82cf504d0df6923d0e8 (patch)
treec5af7ca7320e1a623741bbd670b7749692366837 /packages/website/ts/pages
parenta5e435d8317c7532caa4eb0fcf5bb49cf42c87c7 (diff)
downloaddexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar
dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar.gz
dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar.bz2
dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar.lz
dexon-sol-tools-c9a0c7872de22cf33f1cb82cf504d0df6923d0e8.tar.xz
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.tsx3
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}
/>