mirror of
https://github.com/mempool/mempool.git
synced 2024-12-27 08:44:26 +01:00
Pool icon clickable - blocks list pagination margin
This commit is contained in:
parent
d6a0d84d71
commit
11de94cf90
@ -23,11 +23,11 @@
|
||||
}}</a>
|
||||
</td>
|
||||
<td class="pool text-left" [class]="widget ? 'widget' : ''">
|
||||
<img width="25" height="25" src="{{ block.extras.pool['logo'] }}"
|
||||
<a class="clear-link"[routerLink]="[('/mining/pool/' + block.extras.pool.id) | relativeUrl]">
|
||||
<img width="25" height="25" src="{{ block.extras.pool['logo'] }}"
|
||||
onError="this.src = './resources/mining-pools/default.svg'">
|
||||
<span class="pool-name"><a class="clear-link"
|
||||
[routerLink]="[('/mining/pool/' + block.extras.pool.id) | relativeUrl]">{{
|
||||
block.extras.pool.name }}</a></span>
|
||||
<span class="pool-name">{{ block.extras.pool.name }}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td class="timestamp" *ngIf="!widget">
|
||||
‎{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
|
||||
@ -86,7 +86,7 @@
|
||||
</ng-template>
|
||||
</table>
|
||||
|
||||
<ngb-pagination *ngIf="!widget" class="pagination-container float-right mt-3 mb-3 mb-lg-0"
|
||||
<ngb-pagination *ngIf="!widget" class="pagination-container float-right mt-2"
|
||||
[class]="isLoading ? 'disabled' : ''" [collectionSize]="blocksCount" [rotate]="true" [maxSize]="5" [pageSize]="15"
|
||||
[(page)]="page" (pageChange)="pageChange(page)" [boundaryLinks]="true" [ellipses]="false">
|
||||
</ngb-pagination>
|
||||
|
@ -118,3 +118,10 @@ td {
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination-container {
|
||||
margin-bottom: 40px;
|
||||
@media (max-width: 992px) {
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user