fix(ui): improve torrent status display spacing

Added line breaks to the torrent status display sections for better visual separation. This enhances readability and user experience by making the status information more scannable.
This commit is contained in:
Kumi 2024-06-16 13:09:45 +02:00
parent 85ccdca97f
commit 95f2b9b713
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -165,6 +165,7 @@ async function downloadFile() {
torrent.done ? "Completed, seeding" : "Downloading"
}
<br><strong>Peers:</strong> ${torrent.numPeers}
<br>
<br><strong>Downloaded:</strong> ${(
torrent.downloaded /
(1024 * 1024)
@ -176,6 +177,7 @@ async function downloadFile() {
(1024 * 1024)
).toFixed(2)} MB/s
<br><strong>ETA:</strong> ${torrent.timeRemaining} seconds
<br>
<br><strong>Uploaded:</strong> ${(
torrent.uploaded /
(1024 * 1024)