mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 07:16:17 +08:00
style(typing test): remove 70 character line width limit when using tape mode
part of #5335
This commit is contained in:
parent
1083910bcf
commit
68b3053f0c
|
@ -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%");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue