aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-25 17:59:29 +0800
committerFabio Berger <me@fabioberger.com>2018-07-25 17:59:29 +0800
commite5aa03da64c45a8a777226ff82f497ecbbdaacae (patch)
treeaf6ff4addb155f47673b0f41890e0d173549d96d /packages/website
parent47c0195b07556de25118c8f418163ad84a0d869d (diff)
parentfac90c446cc3a79ffe57ae13c685e7555714cf23 (diff)
downloaddexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.tar
dexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.tar.gz
dexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.tar.bz2
dexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.tar.lz
dexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.tar.xz
dexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.tar.zst
dexon-0x-contracts-e5aa03da64c45a8a777226ff82f497ecbbdaacae.zip
merge v2-prototype
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/top_bar/top_bar.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx
index 63ea3475a..646d3fc94 100644
--- a/packages/website/ts/components/top_bar/top_bar.tsx
+++ b/packages/website/ts/components/top_bar/top_bar.tsx
@@ -59,6 +59,7 @@ const styles: Styles = {
position: 'relative',
top: 0,
paddingBottom: 1,
+ zIndex: 1,
},
bottomBar: {
boxShadow: 'rgba(0, 0, 0, 0.187647) 0px 1px 3px',
@@ -481,6 +482,9 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
private _isViewingPortal(): boolean {
return _.includes(this.props.location.pathname, WebsitePaths.Portal);
}
+ private _isViewingDocs(): boolean {
+ return _.includes(this.props.location.pathname, WebsitePaths.Docs);
+ }
private _isViewingFAQ(): boolean {
return _.includes(this.props.location.pathname, WebsitePaths.FAQ);
}
@@ -523,8 +527,9 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
private _shouldDisplayBottomBar(): boolean {
return (
this._isViewingWiki() ||
- this._isViewing0xjsDocs() ||
this._isViewingFAQ() ||
+ this._isViewingDocs() ||
+ this._isViewing0xjsDocs() ||
this._isViewingSmartContractsDocs() ||
this._isViewingWeb3WrapperDocs() ||
this._isViewingSolCompilerDocs() ||