Add headers to wallet and relayer index

This commit is contained in:
Brandon Millman
2018-04-23 22:17:26 -07:00
parent deaa5f3211
commit 567768c66a
2 changed files with 12 additions and 2 deletions

View File

@@ -68,6 +68,10 @@ const styles: Styles = {
WebkitOverflowScrolling: 'touch',
overflow: 'auto',
},
title: {
fontWeight: 'bold',
fontSize: 20,
},
};
export class Portal extends React.Component<PortalProps, PortalState> {
@@ -154,7 +158,10 @@ export class Portal extends React.Component<PortalProps, PortalState> {
/>
<div id="portal" style={styles.body}>
<div className="sm-flex flex-center">
<div className="flex-last p3">
<div className="flex-last px3">
<div className="py3" style={styles.title}>
Your Account
</div>
<Wallet
userAddress={this.props.userAddress}
networkId={this.props.networkId}
@@ -172,6 +179,9 @@ export class Portal extends React.Component<PortalProps, PortalState> {
/>
</div>
<div className="flex-auto px3" style={styles.scrollContainer}>
<div className="py3" style={styles.title}>
Explore 0x Ecosystem
</div>
<RelayerIndex networkId={this.props.networkId} />
</div>
</div>

View File

@@ -57,7 +57,7 @@ export class RelayerIndex extends React.Component<RelayerIndexProps, RelayerInde
const readyToRender = _.isUndefined(this.state.error) && !_.isUndefined(this.state.relayerInfos);
if (readyToRender) {
return (
<div className="py3" style={styles.root}>
<div style={styles.root}>
<GridList
cellHeight={CELL_HEIGHT}
cols={NUMBER_OF_COLUMNS}