mirror of
				https://github.com/ZetaKebab/japanese-conjugation-drill.git
				synced 2025-10-31 14:29:49 +00:00 
			
		
		
		
	Improved formatting of results screen.
This commit is contained in:
		| @@ -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; | ||||
| } | ||||
| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 doncr
					doncr