diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 06:58:33 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 06:58:33 +0800 |
commit | c505ba6f3e05f4bb415f50352fbb124fec3a71ad (patch) | |
tree | d3a911cb9df1865453316a4680020186f91f5ee9 /packages/website | |
parent | ee71f574538f1c667e77c351bb02d13c2d23f863 (diff) | |
download | dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.tar dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.tar.gz dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.tar.bz2 dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.tar.lz dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.tar.xz dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.tar.zst dexon-sol-tools-c505ba6f3e05f4bb415f50352fbb124fec3a71ad.zip |
Center allowance toggles in account page
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/components/token_balances.tsx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/website/ts/components/token_balances.tsx b/packages/website/ts/components/token_balances.tsx index cfade8f13..5ac0f0caf 100644 --- a/packages/website/ts/components/token_balances.tsx +++ b/packages/website/ts/components/token_balances.tsx @@ -361,13 +361,15 @@ export class TokenBalances extends React.Component<TokenBalancesProps, TokenBala )} </TableRowColumn> <TableRowColumn> - <AllowanceStateToggle - blockchain={this.props.blockchain} - token={token} - tokenState={tokenState} - onErrorOccurred={this._onErrorOccurred.bind(this)} - refetchTokenStateAsync={this._refetchTokenStateAsync.bind(this, token.address)} - /> + <div className="flex justify-center"> + <AllowanceStateToggle + blockchain={this.props.blockchain} + token={token} + tokenState={tokenState} + onErrorOccurred={this._onErrorOccurred.bind(this)} + refetchTokenStateAsync={this._refetchTokenStateAsync.bind(this, token.address)} + /> + </div> </TableRowColumn> {utils.isTestNetwork(this.props.networkId) && ( <TableRowColumn style={{ paddingLeft: actionPaddingX, paddingRight: actionPaddingX }}> |