diff --git a/public/css/style.scss b/public/css/style.scss index a594acfa5..4218ee2e8 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -3058,6 +3058,7 @@ key { .r5 { display: grid; grid-template-columns: 3.5fr 6fr 3.5fr; + font-size: 0.5rem; // &.matrixSpace { // // grid-template-columns: 6.75fr 1.9fr 6.75fr; // grid-template-columns: 6.9fr 4.6fr 6.9fr; // wider spacebar diff --git a/public/js/script.js b/public/js/script.js index f1efd1288..79ea247e2 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1764,7 +1764,6 @@ function showResult(difficultyFailed = false) { time = secondsToString(roundTo2(testtime)); } $("#result .stats .time .bottom .text").text(time); - $("#result .stats .raw .bottom").removeAttr("aria-label"); $("#result .stats .acc .bottom").removeAttr("aria-label"); $("#result .stats .time .bottom").attr( @@ -1786,7 +1785,7 @@ function showResult(difficultyFailed = false) { $("#result .stats .wpm .top").text("cpm"); $("#result .stats .wpm .bottom").attr( "aria-label", - stats.wpm + ` (${roundTo2(stats.wpm)} wpm)` + stats.wpm * 5 + ` (${roundTo2(stats.wpm)} wpm)` ); $("#result .stats .wpm .bottom").text(Math.round(stats.wpm * 5)); $("#result .stats .raw .bottom").text(Math.round(stats.wpmRaw * 5));