fix: improve color coding for nav buttons, CodeMirror theme, and prev/next navigation

This commit is contained in:
2026-01-16 03:51:25 +01:00
parent 8790d3c19e
commit af74a7024d
2 changed files with 32 additions and 27 deletions

View File

@@ -696,6 +696,7 @@ function nextLesson() {
if (newState.module.id !== prevModuleId) {
updateModuleHighlight(newState.module.id);
updateSectionColor(getModuleSection(newState.module));
}
loadCurrentLesson();
}
@@ -712,6 +713,7 @@ function prevLesson() {
if (newState.module.id !== prevModuleId) {
updateModuleHighlight(newState.module.id);
updateSectionColor(getModuleSection(newState.module));
}
loadCurrentLesson();
}