mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	#6797: Improve utilization graph display for small values
This commit is contained in:
		@@ -10,9 +10,12 @@
 | 
			
		||||
      aria-valuemax="100"
 | 
			
		||||
      aria-valuenow="{{ utilization }}"
 | 
			
		||||
      class="progress-bar {{ bar_class }}"
 | 
			
		||||
      style="min-width: 8%; width: {{ utilization }}%;"
 | 
			
		||||
      style="width: {{ utilization }}%;"
 | 
			
		||||
    >
 | 
			
		||||
      {{ utilization }}%
 | 
			
		||||
      {% if utilization >= 25 %}{{ utilization }}%{% endif %}
 | 
			
		||||
    </div>
 | 
			
		||||
    {% if utilization < 25 %}
 | 
			
		||||
      <span class="ps-1">{{ utilization }}%</span>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
  </div>
 | 
			
		||||
{% endif %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user