Optimise contract events display (#3120)
* Adjust to last 25 events * Adjust event address widths * Slight column size adjustment
This commit is contained in:
parent
e4fcf4da2b
commit
3a1f3c0a80
@ -39,6 +39,7 @@
|
||||
|
||||
.txhash {
|
||||
text-overflow: ellipsis;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.key {
|
||||
@ -82,6 +83,7 @@
|
||||
.eventAddress {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.eventIdentityicon {
|
||||
|
@ -312,7 +312,7 @@ class Contract extends Component {
|
||||
|
||||
const contract = api.newContract(account.meta.abi, params.address);
|
||||
contract
|
||||
.subscribe(null, { limit: 50, fromBlock: 0, toBlock: 'pending' }, this._receiveEvents)
|
||||
.subscribe(null, { limit: 25, fromBlock: 0, toBlock: 'pending' }, this._receiveEvents)
|
||||
.then((subscriptionId) => {
|
||||
this.setState({ subscriptionId });
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user