Skip to content

Commit

Permalink
#358 header:lowercase accountname
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparkmaster committed Sep 4, 2017
1 parent 3df0286 commit 6b65bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/app/components/Layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,15 @@ class Header extends React.Component {
(<ActionSheet.Button title="" setActiveState={() => {}}>
<a onClick={this._accountClickHandler.bind(this, account_display_name)} style={{cursor: "default", padding: "1rem", border: "none"}} className="button">
<div className="table-cell"><AccountImage style={{display: "inline-block"}} size={{height: 20, width: 20}} account={account_display_name}/></div>
<div className="table-cell" style={{paddingLeft: 5}}><div className="inline-block"><span>{account_display_name}</span></div></div>
<div className="table-cell" style={{paddingLeft: 5, paddingBottom: 5}}><div className="inline-block"><span style={{textTransform: "lowercase"}}>{account_display_name}</span></div></div>
</a>
</ActionSheet.Button>) :

(<ActionSheet>
<ActionSheet.Button title="">
<a style={{padding: "1rem", border: "none"}} className="button">
<div className="table-cell"><AccountImage style={{display: "inline-block"}} size={{height: 20, width: 20}} account={account_display_name}/></div>
<div className="table-cell" style={{paddingLeft: 5}}><div className="inline-block"><span>{account_display_name}</span></div></div>
<div className="table-cell" style={{paddingLeft: 5, paddingBottom: 5}}><div className="inline-block"><span style={{textTransform: "lowercase"}}>{account_display_name}</span></div></div>
</a>
</ActionSheet.Button>
{tradingAccounts.length > 1 ?
Expand Down

0 comments on commit 6b65bb1

Please sign in to comment.