Skip to content

Commit

Permalink
ui tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
janoside committed Apr 19, 2024
1 parent 6354dac commit f7c25f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/snippets/index-halving-countdown.pug
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (nextHalvingData.nextHalvingIndex > -1)
+valueDisplay(subsidy)

- let progressPercent = new Decimal(nextHalvingData.halvingBlockInterval).minus(nextHalvingData.blocksUntilNextHalving).dividedBy(nextHalvingData.halvingBlockInterval).times(100);
.progress.mt-5(role="progressbar", aria-label="Next halving progress", aria-valuenow=progressPercent.toDP(0), aria-valuemin="0", aria-valuemax="100")
.progress.mt-3(role="progressbar", aria-label="Next halving progress", aria-valuenow=progressPercent.toDP(0), aria-valuemin="0", aria-valuemax="100")
.progress-bar(style=`width: ${progressPercent.toDP(0)}%`)
| #{progressPercent.toDP(4)}%

Expand Down

0 comments on commit f7c25f1

Please sign in to comment.