diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-06 08:11:50 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-06 08:11:50 +0800 |
commit | 97809a03eb5be210a20247444cfd45ed68b515fd (patch) | |
tree | cd504c41e87780e943304733e52888666a88e79f /packages | |
parent | f894ffc0ccccca8e94ea37dda6184168f126839d (diff) | |
download | dexon-0x-contracts-97809a03eb5be210a20247444cfd45ed68b515fd.tar.gz dexon-0x-contracts-97809a03eb5be210a20247444cfd45ed68b515fd.tar.zst dexon-0x-contracts-97809a03eb5be210a20247444cfd45ed68b515fd.zip |
Make wallet height responsive
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 2 |
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 1e0b9ec48..8ea2725fe 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 { |