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
@ -276,3 +276,9 @@ 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;
|
||||
}
|
@ -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>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user