diff --git a/assets/index.css b/assets/index.css index 6f84452..6740b2d 100644 --- a/assets/index.css +++ b/assets/index.css @@ -107,11 +107,6 @@ body { cursor: pointer; } -.upload-status span { - width: 70px; - display: inline-block; -} - .main { padding: 3.3em 1em 0; } @@ -138,6 +133,11 @@ body { padding-left: 0.6em; } +.cell-status span { + width: 80px; + display: inline-block; +} + .paths-table thead a { color: unset; text-decoration: none; diff --git a/assets/index.js b/assets/index.js index 65c3f55..0c825d0 100644 --- a/assets/index.js +++ b/assets/index.js @@ -183,10 +183,10 @@ class Uploader { const now = Date.now(); const speed = (event.loaded - this.uploaded) / (now - this.lastUptime) * 1000; const [speedValue, speedUnit] = formatSize(speed); - const speedText = `${speedValue}${speedUnit.toLowerCase()}/s`; + const speedText = `${speedValue} ${speedUnit}/s`; const progress = formatPercent((event.loaded / event.total) * 100); const duration = formatDuration((event.total - event.loaded) / speed) - this.$uploadStatus.innerHTML = `${speedText}${progress}${duration}`; + this.$uploadStatus.innerHTML = `${speedText}${progress} ${duration}`; this.uploaded = event.loaded; this.lastUptime = now; }