Responsive latest blocks and transactions tables.

This commit is contained in:
softsimon
2020-03-04 02:53:31 +07:00
parent c1a8863861
commit f71ac67d24
4 changed files with 25 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
<table class="table table-borderless" [alwaysCallback]="true" [fromRoot]="true" [infiniteScrollContainer]="'body'" infiniteScroll [infiniteScrollDistance]="1.5" [infiniteScrollUpDistance]="1.5" [infiniteScrollThrottle]="50" (scrolled)="loadMore()">
<thead>
<th style="width: 210px;">Height</th>
<th class="d-none d-md-block" style="width: 210px;">Timestamp</th>
<th style="width: 210px;">Mined</th>
<th class="d-none d-lg-block" style="width: 150px;">Transactions</th>
<th class="d-none d-lg-block" style="width: 175px;">Size</th>
<th>Filled</th>
<th style="width: 15%;">Height</th>
<th class="d-none d-md-block" style="width: 20%;">Timestamp</th>
<th style="width: 20%;">Mined</th>
<th class="d-none d-lg-block" style="width: 15%;">Transactions</th>
<th class="d-none d-lg-block" style="width: 15%;">Size</th>
<th style="width: 20%;">Filled</th>
</thead>
<tbody>
<tr *ngFor="let block of blocks; let i= index; trackBy: trackByBlock">