Fix: mobile help TOC toggle via inline onclick, overflow/wrapping fixes
This commit is contained in:
+3
-3
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user