Skip to content

Commit

Permalink
style(typing test): remove 70 character line width limit when using t…
Browse files Browse the repository at this point in the history
…ape mode

part of #5335
  • Loading branch information
Miodec committed Apr 25, 2024
1 parent 1083910 commit 68b3053
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/src/ts/test/test-ui.ts
Expand Up @@ -1528,4 +1528,11 @@ ConfigEvent.subscribe((key, value) => {
$(".pageTest #restartTestButton").addClass("hidden");
}
}
if (key === "tapeMode") {
if (value === "off") {
$("#typingTest").css("max-width", "70ch");
} else {
$("#typingTest").css("max-width", "100%");
}
}
});

0 comments on commit 68b3053

Please sign in to comment.