diff options
author | Leonid <logvinov.leon@gmail.com> | 2018-01-18 22:27:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 22:27:01 +0800 |
commit | 9203813a612f835043dcd42302af97ad0372790d (patch) | |
tree | 9beaa00563c4f0a026d4921ddc8d35bbc0278da0 /packages/website/ts/components/top_bar.tsx | |
parent | e5eec04f92b51319dc55c46c9be7b9d6fe5a1e48 (diff) | |
parent | f9c21efc3073fea4578d46a47f5a08214c592e87 (diff) | |
download | dexon-0x-contracts-9203813a612f835043dcd42302af97ad0372790d.tar.gz dexon-0x-contracts-9203813a612f835043dcd42302af97ad0372790d.tar.zst dexon-0x-contracts-9203813a612f835043dcd42302af97ad0372790d.zip |
Merge pull request #325 from 0xProject/fix/portal-bugs
Small Fixes/Additions
Diffstat (limited to 'packages/website/ts/components/top_bar.tsx')
-rw-r--r-- | packages/website/ts/components/top_bar.tsx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/packages/website/ts/components/top_bar.tsx b/packages/website/ts/components/top_bar.tsx index 601471222..c07366a0c 100644 --- a/packages/website/ts/components/top_bar.tsx +++ b/packages/website/ts/components/top_bar.tsx @@ -167,15 +167,13 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { </div> </div> )} - {this.props.blockchainIsLoaded && - !_.isEmpty(this.props.userAddress) && <div className="col col-5">{this._renderUser()}</div>} - {!this._isViewingPortal() && ( - <div className={`col ${isFullWidthPage ? 'col-2 pl2' : 'col-1'} md-hide lg-hide`}> - <div style={menuIconStyle}> - <i className="zmdi zmdi-menu" onClick={this._onMenuButtonClick.bind(this)} /> - </div> + {this.props.blockchainIsLoaded && _.isEmpty(this.props.userAddress) && + <div className="col col-5 sm-hide xs-hide">{this._renderUser()}</div>} + <div className={`col ${isFullWidthPage ? 'col-2 pl2' : 'col-1'} md-hide lg-hide`}> + <div style={menuIconStyle}> + <i className="zmdi zmdi-menu" onClick={this._onMenuButtonClick.bind(this)} /> </div> - )} + </div> </div> {this._renderDrawer()} </div> |