diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-19 19:42:16 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-19 19:42:16 +0800 |
commit | e38c7ff0760c766b92a7d19261a3a6f480adf567 (patch) | |
tree | 6df142cc36a27e9d5ab42c42dc9b99705297fd82 /packages/website/ts | |
parent | 66fe7b88b0892b5a5c7a06d66bec9035dd7782f0 (diff) | |
download | dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.tar dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.tar.gz dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.tar.bz2 dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.tar.lz dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.tar.xz dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.tar.zst dexon-sol-tools-e38c7ff0760c766b92a7d19261a3a6f480adf567.zip |
Fix scrolling topBar on Portal
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/components/portal.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/components/top_bar.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal.tsx b/packages/website/ts/components/portal.tsx index 521dd2b5f..2f6f9912a 100644 --- a/packages/website/ts/components/portal.tsx +++ b/packages/website/ts/components/portal.tsx @@ -151,7 +151,7 @@ export class Portal extends React.Component<PortalAllProps, PortalAllState> { blockchainIsLoaded={this.props.blockchainIsLoaded} location={this.props.location} /> - <div id="portal" className="mx-auto max-width-4 pt4" style={{width: '100%'}}> + <div id="portal" className="mx-auto max-width-4" style={{width: '100%'}}> <Paper className="mb3 mt2"> {!configs.IS_MAINNET_ENABLED && this.props.networkId === constants.NETWORK_ID_MAINNET ? <div className="p3 center"> diff --git a/packages/website/ts/components/top_bar.tsx b/packages/website/ts/components/top_bar.tsx index b731ee173..025ed3635 100644 --- a/packages/website/ts/components/top_bar.tsx +++ b/packages/website/ts/components/top_bar.tsx @@ -45,7 +45,7 @@ const styles: Styles = { backgroundcolor: colors.white, height: 59, width: '100%', - position: 'fixed', + position: 'relative', top: 0, zIndex: 1100, paddingBottom: 1, |