aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/wallet
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-07-07 04:05:27 +0800
committerGitHub <noreply@github.com>2018-07-07 04:05:27 +0800
commit4cc33d270ee62584710659b16671575ce9955e5e (patch)
treecc2452391aaf9f9d46b36ba6e77f2f9825d18a7c /packages/website/ts/components/wallet
parentf767f5c12c3f17e6c5eb945f1d398f8270491f31 (diff)
parentafbc4989d512d3dcc24a7cbc29e96afaae3acdc0 (diff)
downloaddexon-0x-contracts-4cc33d270ee62584710659b16671575ce9955e5e.tar.gz
dexon-0x-contracts-4cc33d270ee62584710659b16671575ce9955e5e.tar.zst
dexon-0x-contracts-4cc33d270ee62584710659b16671575ce9955e5e.zip
Merge pull request #828 from 0xProject/feature/website/portal-improvements
Fix some portal bugs, and poll for best gas price
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r--packages/website/ts/components/wallet/wallet.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx
index de3b91ad0..1c7dafca0 100644
--- a/packages/website/ts/components/wallet/wallet.tsx
+++ b/packages/website/ts/components/wallet/wallet.tsx
@@ -270,7 +270,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
overflowY: this.state.isHoveringSidebar ? 'scroll' : 'hidden',
marginRight: this.state.isHoveringSidebar ? 0 : 4,
// TODO: make this completely responsive
- maxHeight: this.props.screenWidth !== ScreenWidths.Sm ? 475 : undefined,
+ maxHeight: !utils.isMobileWidth(this.props.screenWidth) ? 'calc(90vh - 300px)' : undefined,
};
}
private _onSidebarHover(_event: React.FormEvent<HTMLInputElement>): void {