Bugfix: Overflow in difficulty adjustment component. (#638)

* Remove green progress bar.

* Fix itens overflow.
This commit is contained in:
Miguel Medeiros 2021-07-18 09:47:47 -03:00 committed by GitHub
parent 03ce592ab0
commit 08328cbf0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -223,7 +223,6 @@
<div class="card-text">{{ epochData.progress | number: '1.2-2' }} <span class="symbol">%</span></div>
<div class="progress small-bar">
<div class="progress-bar" role="progressbar" style="width: 15%; background-color: #105fb0" [ngStyle]="{'width': epochData.base}">&nbsp;</div>
<div class="progress-bar bg-success" role="progressbar" style="width: 0%" [ngStyle]="{'width': epochData.green}"></div>
</div>
</div>
</div>

View File

@ -31,6 +31,7 @@
width: 100%;
background-color: #2d3348;
height: 1.1rem;
max-width: 130px;
}
.bg-warning {
@ -229,7 +230,6 @@
font-size: 12px;
}
.item {
max-width: 130px;
padding: 0 5px;
width: 100%;
&:nth-child(1){