diff --git a/js/src/views/Contract/contract.css b/js/src/views/Contract/contract.css index 4c6e93a3a..582cfe427 100644 --- a/js/src/views/Contract/contract.css +++ b/js/src/views/Contract/contract.css @@ -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 { diff --git a/js/src/views/Contract/contract.js b/js/src/views/Contract/contract.js index 394f8b360..4e9e0a9f0 100644 --- a/js/src/views/Contract/contract.js +++ b/js/src/views/Contract/contract.js @@ -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 }); });