Skip to content

Commit

Permalink
Code readability optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamToki committed Jan 13, 2025
1 parent aee91f7 commit 56384de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PROJECT/KanaMaster/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@
}
switch(System.I18n.Language) {
case "Auto":
/* navigator.language ... */
// navigator.language ...
break;
case "en-US":
/* ChangeCursorOverall("wait");
window.location.replace("index_" + System.I18n.Language + ".html"); */
window.location.replace("index_en-US.html"); */
ShowDialog("System_LanguageUnsupported",
"Caution",
"<span lang=\"en-US\">Sorry, this webpage currently does not support English (US).</span>",
Expand Down
2 changes: 1 addition & 1 deletion PROJECT/KanaMaster/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
/* Answer feedback */
#Label_AnswerFeedback {
position: absolute; top: -30px; left: 0; z-index: 1;
width: calc((100% - 20px) * 2 / 9); height: 60px; border-radius: 5px; /* "*2/9" is actually "/3*(2/3)". */
width: calc((100% - 20px) / 9 * 2); height: 60px; border-radius: 5px;
text-shadow: 0 0 5px #FFFFFF; font-size: 2.50em; text-align: center;
display: flex; justify-content: center; align-items: center;
pointer-events: none;
Expand Down

0 comments on commit 56384de

Please sign in to comment.