mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
fixed #13
This commit is contained in:
parent
4f8932a78c
commit
ce8df94262
3 changed files with 6 additions and 5 deletions
|
@ -202,6 +202,7 @@ a:hover {
|
|||
}
|
||||
|
||||
#liveWpm {
|
||||
position: absolute;
|
||||
// font-size: 1.7rem;
|
||||
// line-height: 1.7rem;
|
||||
// color: var(--sub-color);
|
||||
|
@ -515,7 +516,7 @@ key {
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
max-height: 200px;
|
||||
max-height: 180px;
|
||||
.title{
|
||||
color: var(--sub-color);
|
||||
margin-bottom: 1rem;
|
||||
|
@ -525,7 +526,7 @@ key {
|
|||
.loginTip{
|
||||
grid-column: 1/3;
|
||||
text-align: center;
|
||||
margin-top: 3rem;
|
||||
margin-top: 1rem;
|
||||
color: var(--sub-color);
|
||||
}
|
||||
.stats{
|
||||
|
|
|
@ -162,8 +162,8 @@
|
|||
<div class="loginTip">Sign in to save your results</div>
|
||||
|
||||
</div>
|
||||
<div id="restartTestButton" class="" tabindex="0"><i class="fas fa-redo-alt"></i></div>
|
||||
<div id="liveWpm">123</div>
|
||||
<div id="restartTestButton" class="" tabindex="0"><i class="fas fa-redo-alt"></i></div>
|
||||
</div>
|
||||
<div class="page pageAbout hidden">
|
||||
<div class="section">
|
||||
|
|
|
@ -667,8 +667,8 @@ function liveWPM() {
|
|||
function updateLiveWpm(wpm) {
|
||||
if (!config.showLiveWpm) return;
|
||||
if (wpm == 0 || !testActive) hideLiveWpm();
|
||||
let wpmstring = wpm < 100 ? ` ${wpm}` : `${wpm}`;
|
||||
$("#liveWpm").html(wpmstring);
|
||||
// let wpmstring = wpm < 100 ? ` ${wpm}` : `${wpm}`;
|
||||
$("#liveWpm").html(wpm);
|
||||
}
|
||||
|
||||
function showLiveWpm() {
|
||||
|
|
Loading…
Reference in a new issue