mirror of
https://github.com/ZetaKebab/japanese-conjugation-drill.git
synced 2025-01-14 22:08:44 +00:00
Improved formatting of results screen.
This commit is contained in:
parent
280c1296c6
commit
9da54e4f35
@ -275,4 +275,10 @@ ruby.furiganaHover rt, ruby.furiganaHover rp {
|
|||||||
|
|
||||||
ruby.furiganaHover:hover rt, ruby.furiganaHover:hover rp {
|
ruby.furiganaHover:hover rt, ruby.furiganaHover:hover rp {
|
||||||
opacity: 100;
|
opacity: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#history {
|
||||||
|
height: calc(100vh - 11em);
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
@ -164,7 +164,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<h1 class="text-center">
|
<h1 class="text-center">
|
||||||
Result:<br><span id="scoreSectionTitleNarrow"></span>
|
<span id="scoreSectionTitleNarrow"></span>
|
||||||
</h1>
|
</h1>
|
||||||
<div id="scoreSectionTitle" class="text-center"></div>
|
<div id="scoreSectionTitle" class="text-center"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -575,7 +575,7 @@ function updateHistoryView(log) {
|
|||||||
} else if (correct == 0) {
|
} else if (correct == 0) {
|
||||||
resultString = "All incorrect!";
|
resultString = "All incorrect!";
|
||||||
} else {
|
} else {
|
||||||
resultString = correct + " of " + total + " correct.";
|
resultString = correct + " of " + total + " correct";
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#scoreSectionTitleNarrow').text(resultString);
|
$('#scoreSectionTitleNarrow').text(resultString);
|
||||||
|
Loading…
Reference in New Issue
Block a user