Display token addresses

This commit is contained in:
Jaco Greeff 2016-11-15 12:35:43 +01:00
parent 9857f632d8
commit 0181b8a245
4 changed files with 21 additions and 0 deletions

View File

@ -46,11 +46,22 @@ a.link, a.link:hover, a.link:visited {
} }
.address { .address {
max-width: 250px;
text-align: left; text-align: left;
div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
} }
.description { .description {
text-align: left; text-align: left;
div {
white-space: nowrap;
}
} }
.center { .center {

View File

@ -58,6 +58,7 @@ export default class Event extends Component {
<td className={ styles.description }> <td className={ styles.description }>
<div>{ isPending ? '' : coin.tla }</div> <div>{ isPending ? '' : coin.tla }</div>
<div>{ isPending ? '' : coin.name }</div> <div>{ isPending ? '' : coin.name }</div>
<div>{ this.renderAddress(event.params.coin) }</div>
</td> </td>
<td className={ styles.address }> <td className={ styles.address }>
{ this.renderAddress(event.params.owner) } { this.renderAddress(event.params.owner) }

View File

@ -46,3 +46,9 @@
.icon { .icon {
margin: 0 0 -4px 1em; margin: 0 0 -4px 1em;
} }
.byline {
opacity: 0.75;
font-size: 0.75em;
padding-top: 0.25em;
}

View File

@ -68,6 +68,9 @@ export default class Owner extends Component {
<Token <Token
address={ token.address } address={ token.address }
tokenreg={ token.tokenreg } /> tokenreg={ token.tokenreg } />
<div className={ styles.byline }>
{ token.address }
</div>
</div> </div>
)); ));
} }