From 3890f8224d371cecbd5c9d0e3d5c4b54f4381fdb Mon Sep 17 00:00:00 2001 From: fragosti Date: Tue, 24 Jul 2018 14:44:31 -0700 Subject: Fix tooltip wrapping issue in onboardin --- .../ts/components/inputs/allowance_state_toggle.tsx | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'packages/website/ts/components/inputs') diff --git a/packages/website/ts/components/inputs/allowance_state_toggle.tsx b/packages/website/ts/components/inputs/allowance_state_toggle.tsx index ce439e147..a812ead5d 100644 --- a/packages/website/ts/components/inputs/allowance_state_toggle.tsx +++ b/packages/website/ts/components/inputs/allowance_state_toggle.tsx @@ -5,6 +5,7 @@ import ReactTooltip = require('react-tooltip'); import { Blockchain } from 'ts/blockchain'; import { AllowanceState, AllowanceStateView } from 'ts/components/ui/allowance_state_view'; import { Container } from 'ts/components/ui/container'; +import { Text } from 'ts/components/ui/text'; import { Dispatcher } from 'ts/redux/dispatcher'; import { BalanceErrs, Token, TokenState } from 'ts/types'; import { analytics } from 'ts/utils/analytics'; @@ -55,12 +56,13 @@ export class AllowanceStateToggle extends React.Component - {this._getTooltipContent()} + + {this._getTooltipContent()} +
@@ -76,7 +78,6 @@ export class AllowanceStateToggle extends React.Component + Please confirm in MetaMask + + ); case AllowanceState.Locked: return ( - + Click to enable {symbol} for trading - + ); case AllowanceState.Unlocked: return ( - + {symbol} is available for trading - + ); default: return null; -- cgit