Merge branch 'master' into mononaut/difficulty-widget-redesign

This commit is contained in:
wiz
2023-03-11 19:38:15 +09:00
committed by GitHub
8 changed files with 278 additions and 138 deletions

View File

@@ -35,7 +35,7 @@
<ng-template #blocksSingular let-i i18n="difficulty-box.block-behind">{{ i }} block behind</ng-template>
</ng-container>
<ng-container *ngSwitchCase="'next'">
<span i18n="@@bdf0e930eb22431140a2eaeacd809cc5f8ebd38c">next block</span>
<span class="next-block" i18n="@@bdf0e930eb22431140a2eaeacd809cc5f8ebd38c">Next Block</span>
</ng-container>
</ng-container>
</div>

View File

@@ -15,4 +15,8 @@
margin: 0;
white-space: nowrap;
}
}
}
.next-block {
text-transform: lowercase;
}

View File

@@ -39,7 +39,7 @@
<div class="card-text">
~<app-time [time]="epochData.timeAvg / 1000" [forceFloorOnTimeIntervals]="['minute']" [fractionDigits]="1"></app-time>
</div>
<div class="symbol" i18n="difficulty-box.average-block-interval">Average interval</div>
<div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div>
</div>
<div class="item">
<div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text" [ngStyle]="{'color': epochData.colorAdjustments}">