Improved formatting of results screen.

This commit is contained in:
doncr 2020-10-31 17:30:19 +00:00
parent 280c1296c6
commit 9da54e4f35
3 changed files with 8 additions and 2 deletions

View File

@ -275,4 +275,10 @@ ruby.furiganaHover rt, ruby.furiganaHover rp {
ruby.furiganaHover:hover rt, ruby.furiganaHover:hover rp {
opacity: 100;
}
div#history {
height: calc(100vh - 11em);
overflow-y: auto;
overflow-x: hidden;
}

View File

@ -164,7 +164,7 @@
<div class="row">
<div class="col-12">
<h1 class="text-center">
Result:<br><span id="scoreSectionTitleNarrow"></span>
<span id="scoreSectionTitleNarrow"></span>
</h1>
<div id="scoreSectionTitle" class="text-center"></div>
</div>

View File

@ -575,7 +575,7 @@ function updateHistoryView(log) {
} else if (correct == 0) {
resultString = "All incorrect!";
} else {
resultString = correct + " of " + total + " correct.";
resultString = correct + " of " + total + " correct";
}
$('#scoreSectionTitleNarrow').text(resultString);