From f8cf19cae991ec6fb0739608f438e1c2c6d2368f Mon Sep 17 00:00:00 2001 From: Lipis Date: Sun, 7 Feb 2021 14:47:39 +0200 Subject: [PATCH 1/2] Update Stats.scss --- src/components/Stats.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Stats.scss b/src/components/Stats.scss index a7a449f85..84864f933 100644 --- a/src/components/Stats.scss +++ b/src/components/Stats.scss @@ -31,7 +31,6 @@ } tr { td:nth-child(2) { - padding-left: 8px; min-width: 24px; text-align: right; } From 4fd18d1b3e54149d94298dc9e382b3da4ea76835 Mon Sep 17 00:00:00 2001 From: Lipis Date: Sun, 7 Feb 2021 14:55:50 +0200 Subject: [PATCH 2/2] Update src/utils.ts Co-authored-by: Aakansha Doshi --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 30e1caa7d..9ffeef50c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -365,7 +365,7 @@ export const nFormatter = (num: number, digits: number): string => { export const formatSpeedBits = (speed: number): string => { // source: https://en.wikipedia.org/wiki/Data-rate_units#Conversion_table - const suffix = ["bit/s", "kbit/s", "Mbit/s", "Gbit/s"]; + const suffix = ["bps", "kbps", "Mbps", "Gbps"]; let index = 0; while (speed > 1000) { index++;