Bugfix: Overflow in difficulty adjustment component. (#638)
* Remove green progress bar. * Fix itens overflow.
This commit is contained in:
		
							parent
							
								
									cd242141f1
								
							
						
					
					
						commit
						9f8ff36876
					
				@ -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}"> </div>
 | 
			
		||||
              <div class="progress-bar bg-success" role="progressbar" style="width: 0%" [ngStyle]="{'width': epochData.green}"></div>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
@ -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){
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user