Add Origin to events table (#4073)

This commit is contained in:
Nicolas Gotchac 2017-01-06 17:24:35 +01:00 committed by Jaco Greeff
parent 81641a5839
commit 30394bdb1c
2 changed files with 26 additions and 9 deletions

View File

@ -74,6 +74,14 @@ export default class Events extends Component {
return (
<Container title='events'>
<table className={ styles.events }>
<thead>
<tr>
<th />
<th className={ styles.origin }>
origin
</th>
</tr>
</thead>
<tbody>{ list }</tbody>
</table>
</Container>

View File

@ -29,14 +29,31 @@
.event {
td {
vertical-align: top;
padding: 1em 0.5em;
padding: 0 0.5em 1.5em;
div {
white-space: nowrap;
}
&.timestamp {
padding-right: 1.5em;
text-align: right;
line-height: 1.5em;
opacity: 0.5;
white-space: nowrap;
}
}
}
.origin {
text-align: left;
padding-left: 32px;
text-indent: 1em;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
font-size: 0.9em;
}
.txhash {
text-overflow: ellipsis;
width: 20%;
@ -54,14 +71,6 @@
opacity: 0.5;
}
.timestamp {
padding-top: 1.5em;
text-align: right;
line-height: 1.5em;
opacity: 0.5;
white-space: nowrap;
}
.eventDetails {
}