Add more padding to the blocks list page

This commit is contained in:
nymkappa 2022-03-12 17:33:07 +01:00
parent 11de94cf90
commit a893e87347
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 77 additions and 78 deletions

View File

@ -3,6 +3,7 @@
<div class="clearfix"></div>
<div style="min-height: 295px">
<table class="table table-borderless">
<thead>
<th class="height" [class]="widget ? 'widget' : ''" i18n="latest-blocks.height">Height</th>
@ -86,9 +87,10 @@
</ng-template>
</table>
<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 *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>
</div>
</div>

View File

@ -1,9 +1,10 @@
.container-xl {
max-width: 1400px;
padding-bottom: 0;
padding-bottom: 100px;
}
.container-xl.widget {
padding-left: 0px;
padding-bottom: 0px;
}
.container {
@ -117,11 +118,7 @@ td {
@media (max-width: 650px) {
width: 20%;
}
}
.pagination-container {
margin-bottom: 40px;
@media (max-width: 992px) {
margin-bottom: 80px;
@media (max-width: 450px) {
display: none;
}
}