Restyle the downloads screen

This commit is contained in:
Lei Nelissen
2022-05-17 23:34:25 +02:00
parent c0fa1160ae
commit de07fc65c4
3 changed files with 79 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
const k = 1024;
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
const sizes = ['Bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];
/**
* Convert a number of bytes to a human-readable string