mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
Fix position of progress bar outside label
This commit is contained in:
parent
0d7417d8b5
commit
16e212e29d
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -1,3 +1,10 @@
|
||||
.progress, .progress-bar {
|
||||
.progress {
|
||||
height: 20px;
|
||||
|
||||
.progress-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding-left: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,6 @@
|
||||
{% if utilization >= 35 %}{{ utilization|floatformat:1 }}%{% endif %}
|
||||
</div>
|
||||
{% if utilization < 35 %}
|
||||
<span class="ps-1">{{ utilization|floatformat:1 }}%</span>
|
||||
<span class="progress-label">{{ utilization|floatformat:1 }}%</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user