aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-07-25 01:22:18 +0800
committerGitHub <noreply@github.com>2018-07-25 01:22:18 +0800
commit14bb6979248e00af37fb6b4aa49fa78bcc26379b (patch)
tree3e96e714e5734f90f8768afa9b3fbc1637d86070 /packages
parentdbd815c1e0c30c01859cd1f9b8df095d07327d66 (diff)
parentfc166dea26b55730a43876628c070f3ca0a3f2ed (diff)
downloaddexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.tar
dexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.tar.gz
dexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.tar.bz2
dexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.tar.lz
dexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.tar.xz
dexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.tar.zst
dexon-sol-tools-14bb6979248e00af37fb6b4aa49fa78bcc26379b.zip
Merge pull request #891 from 0xProject/bug/website/wiki-page-topbar
Make topbar zIndex 1
Diffstat (limited to 'packages')
-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() ||