Skip to content

Commit

Permalink
Fix #358 (#363)
Browse files Browse the repository at this point in the history
* Update README.md

* #358 header:lowercase accountname

* create lower-case class per PR comment
  • Loading branch information
Scurious authored and svk31 committed Sep 5, 2017
1 parent 9aa5547 commit 96c5799
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions web/app/assets/stylesheets/components/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,7 @@ div.header-right-menu {
padding-left: 0.3rem;
padding-right: 0.3rem;
}

.lower-case {
text-transform: lowercase;
}
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, verticalAlign: "middle"}}><div className="inline-block"><span className="lower-case">{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, verticalAlign: "middle"}}><div className="inline-block"><span className="lower-case">{account_display_name}</span></div></div>
</a>
</ActionSheet.Button>
{tradingAccounts.length > 1 ?
Expand Down

0 comments on commit 96c5799

Please sign in to comment.