Merge pull request #828 from 0xProject/feature/website/portal-improvements

Fix some portal bugs, and poll for best gas price
This commit is contained in:
Brandon Millman
2018-07-06 13:05:27 -07:00
committed by GitHub
6 changed files with 41 additions and 8 deletions

View File

@@ -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 {