diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 06:09:47 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 06:11:46 +0800 |
commit | 5b6cf447e5793a775d8d590647c85971a6746909 (patch) | |
tree | 514783b48fd004e7b52cfc8b5532f93831d7847e /packages/website/ts/components/portal/portal.tsx | |
parent | 3890f8224d371cecbd5c9d0e3d5c4b54f4381fdb (diff) | |
download | dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.gz dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.bz2 dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.lz dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.xz dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.zst dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.zip |
Make tooltip appear to the left of the toggle when onboarding in progress
Diffstat (limited to 'packages/website/ts/components/portal/portal.tsx')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 1790a9678..c61d04906 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -24,6 +24,7 @@ import { TradeHistory } from 'ts/components/trade_history/trade_history'; import { Container } from 'ts/components/ui/container'; import { FlashMessage } from 'ts/components/ui/flash_message'; import { Image } from 'ts/components/ui/image'; +import { PointerDirection } from 'ts/components/ui/pointer'; import { Text } from 'ts/components/ui/text'; import { Wallet } from 'ts/components/wallet/wallet'; import { GenerateOrderForm } from 'ts/containers/generate_order_form'; @@ -355,6 +356,9 @@ export class Portal extends React.Component<PortalProps, PortalState> { onAddToken={this._onAddToken.bind(this)} onRemoveToken={this._onRemoveToken.bind(this)} refetchTokenStateAsync={this._refetchTokenStateAsync.bind(this)} + toggleTooltipDirection={ + this.props.isPortalOnboardingShowing ? PointerDirection.Left : PointerDirection.Right + } /> </Container> {!isMobile && <Container marginTop="8px">{this._renderStartOnboarding()}</Container>} |