Setting width to force the stackedProgressBars components to render always with the same size

This commit is contained in:
Alfredo Cardigliano 2018-12-12 18:03:44 +01:00
parent fa3892c662
commit cc8e951933
3 changed files with 6 additions and 3 deletions

View file

@ -616,8 +616,9 @@ if(ifstats.zmqRecvStats ~= nil) then
if #storage_items > 0 then
print("<tr><th>"..i18n("traffic_recording.storage_utilization").."</th><td colspan=4>")
print("<span style='float: left;'>")
print("<span style='width: 400px; float: left'>")
print(stackedProgressBars(total_used, storage_items, nil, bytesToSize))
print("</span>");
print("</td></tr>\n")
end
end