Fix: mobile help TOC toggle via inline onclick, overflow/wrapping fixes
CI / lint (push) Failing after 5s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Successful in 8s

This commit is contained in:
2026-06-03 10:15:02 -04:00
parent 26871dd580
commit b513add15b
3 changed files with 25 additions and 9 deletions
+3 -3
View File
@@ -762,7 +762,7 @@
<div class="editor-modal" id="help-modal">
<div class="editor-container help-container">
<div class="editor-header">
<button class="help-hamburger" id="help-hamburger" title="Sommaire" aria-label="Afficher le sommaire">
<button class="help-hamburger" id="help-hamburger" title="Sommaire" aria-label="Afficher le sommaire" onclick="var n=document.getElementById('help-nav');var o=document.getElementById('help-nav-overlay');if(n){n.classList.toggle('open');if(o)o.classList.toggle('visible');var s=document.getElementById('help-nav-search');if(n.classList.contains('open')&&s)setTimeout(function(){s.focus()},150);document.body.style.overflow=n.classList.contains('open')?'hidden':''}">
<i data-lucide="menu" style="width:18px;height:18px"></i>
</button>
<div class="editor-title" id="help-title">Guide d'utilisation ObsiGate</div>
@@ -772,12 +772,12 @@
</button>
</div>
</div>
<div class="help-nav-overlay" id="help-nav-overlay"></div>
<div class="help-nav-overlay" id="help-nav-overlay" onclick="var n=document.getElementById('help-nav');var o=document.getElementById('help-nav-overlay');if(n)n.classList.remove('open');if(o)o.classList.remove('visible');document.body.style.overflow=''"></div>
<div class="editor-body help-body" id="help-body">
<nav class="help-nav" id="help-nav">
<div class="help-nav-header">
<div class="help-nav-title">Sommaire</div>
<button class="help-nav-close" id="help-nav-close" title="Fermer" aria-label="Fermer le sommaire">
<button class="help-nav-close" id="help-nav-close" title="Fermer" aria-label="Fermer le sommaire" onclick="var n=document.getElementById('help-nav');var o=document.getElementById('help-nav-overlay');if(n)n.classList.remove('open');if(o)o.classList.remove('visible');document.body.style.overflow=''">
<i data-lucide="x" style="width:16px;height:16px"></i>
</button>
</div>