diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 14:47:37 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 14:47:37 +0800 |
commit | 9c827a0298df3e54e8b18e9f38b1d4027d2b5d83 (patch) | |
tree | c3ee7b43c394d2666c343874ce64a8275d981dbb /packages/website/ts/components/portal/portal.tsx | |
parent | 766aeaa9e1513040d3429410bdf0d78479e1939a (diff) | |
download | dexon-0x-contracts-9c827a0298df3e54e8b18e9f38b1d4027d2b5d83.tar.gz dexon-0x-contracts-9c827a0298df3e54e8b18e9f38b1d4027d2b5d83.tar.zst dexon-0x-contracts-9c827a0298df3e54e8b18e9f38b1d4027d2b5d83.zip |
Top bar expanded display type
Diffstat (limited to 'packages/website/ts/components/portal/portal.tsx')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 507860ee6..bf12c924f 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -9,7 +9,7 @@ import { BlockchainErrDialog } from 'ts/components/dialogs/blockchain_err_dialog import { LedgerConfigDialog } from 'ts/components/dialogs/ledger_config_dialog'; import { PortalDisclaimerDialog } from 'ts/components/dialogs/portal_disclaimer_dialog'; import { RelayerIndex } from 'ts/components/relayer_index/relayer_index'; -import { TopBar } from 'ts/components/top_bar/top_bar'; +import { TopBar, TopBarDisplayType } from 'ts/components/top_bar/top_bar'; import { FlashMessage } from 'ts/components/ui/flash_message'; import { Wallet } from 'ts/components/wallet/wallet'; import { localStorage } from 'ts/local_storage/local_storage'; @@ -51,7 +51,7 @@ interface PortalState { } const THROTTLE_TIMEOUT = 100; -const TOP_BAR_HEIGHT = 60; +const TOP_BAR_HEIGHT = TopBar.heightForDisplayType(TopBarDisplayType.Expanded); const styles: Styles = { root: { @@ -154,6 +154,7 @@ export class Portal extends React.Component<PortalProps, PortalState> { location={this.props.location} blockchain={this._blockchain} translate={this.props.translate} + displayType={TopBarDisplayType.Expanded} style={{ backgroundColor: colors.lightestGrey }} /> <div id="portal" style={styles.body}> |