Merge branch 'master' into simon/node-fee-chart-loading-d

This commit is contained in:
wiz 2023-03-21 23:01:19 +09:00 committed by GitHub
commit a34d87148b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -156,4 +156,5 @@
.symbol { .symbol {
font-size: 13px; font-size: 13px;
white-space: nowrap;
} }

View File

@ -42,7 +42,7 @@
<div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div> <div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div>
</div> </div>
<div class="item"> <div class="item">
<div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text" [ngStyle]="{'color': epochData.colorAdjustments}"> <div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text bigger" [ngStyle]="{'color': epochData.colorAdjustments}">
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" > <span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon> <fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
</span> </span>

View File

@ -30,9 +30,14 @@
} }
} }
.card-text { .card-text {
font-size: 20px; font-size: 18px;
margin: auto; margin: auto;
position: relative; position: relative;
margin-bottom: 0.2rem;
&.bigger {
font-size: 20px;
margin-bottom: 0;
}
} }
} }
@ -160,6 +165,7 @@
.symbol { .symbol {
font-size: 13px; font-size: 13px;
white-space: nowrap;
} }
.epoch-progress { .epoch-progress {