diff --git a/bgs/tutorial.js b/bgs/tutorial.js index 38c4a1c..bc82a4f 100644 --- a/bgs/tutorial.js +++ b/bgs/tutorial.js @@ -65,7 +65,7 @@ export async function mountLesson(target, { chapter = "basics", locale = "en", o guide.innerHTML = `
${escape(LESSONS[index].title[locale === "fr" ? 0 : 1])}
${standalone ? `${t("Partie locale", "Local game")}` : ''}${transport("sound", soundOn ? "speaker" : "muted", soundOn ? t("Couper les sons", "Mute sounds") : t("Activer les sons", "Enable sounds"))}

${escape(s.title)}

${escape(missed ? t("Destination manquée. Revenez préparer un autre trajet.", "Destination missed. Go back and plan another route.") : s.text)}

-
${transport("restart", "rewind", t("Recommencer l’exercice", "Restart exercise"), s.busy)}${transport("previous", "left", t("Étape précédente", "Previous step"), s.step === 0 || s.busy)}${transport("replay", "restart", t("Rejouer cette étape", "Replay step"), s.busy || s.step === 0)}${s.canContinue ? `` : ''}${s.completed && (nextChapter || standalone && LESSONS[index + 1]) ? `` : ''}${s.saved ? "✓" : ""}
+
${transport("restart", "rewind", t("Recommencer l’exercice", "Restart exercise"), s.busy)}${transport("previous", "left", t("Étape précédente", "Previous step"), s.step === 0 || s.busy)}${transport("replay", "restart", t("Rejouer cette étape", "Replay step"), s.busy || s.step === 0)}${s.canContinue ? `` : ''}${s.completed && (nextChapter || standalone && LESSONS[index + 1]) ? `` : ''}
${s.error ? `

${escape(s.error)}

` : ''}`; } const unsubscribe = tutorial.subscribe(s => { diff --git a/preview/style.css b/preview/style.css index d719038..79ccfe9 100644 --- a/preview/style.css +++ b/preview/style.css @@ -2328,7 +2328,6 @@ input:not([type="checkbox"]):not([type="range"]) { .native-guide h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 20px 0 8px; } .native-guide-text { line-height: 1.6; white-space: pre-line; max-width: 65ch; } .native-guide-controls { margin-top: 16px; } -.native-guide-controls small { color: #9db0bf; margin-left: auto; } .native-guide .basics-stages { grid-template-columns: repeat(3, 1fr); margin: 16px 0; } .native-tutorial .basics-top, .native-tutorial #basics-guide > .basics-stages, @@ -2349,7 +2348,6 @@ input:not([type="checkbox"]):not([type="range"]) { @media (max-width: 520px) { .native-guide .basics-stages { gap: 3px; } .native-guide .basics-stages button { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; } - .native-guide-controls small { width: 100%; margin: 0; } } .native-tutorial #basics-run { width: 64px; height: 48px; } .practice-readiness > span { display: inline-flex; align-items: center; gap: 6px; }