Fix: hamburger first-click, add search clear X button
CI / lint (push) Failing after 4s
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 11:43:34 -04:00
parent e9685651cf
commit d25fff5505
2 changed files with 31 additions and 2 deletions
+2 -1
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" onclick="var n=document.getElementById('help-nav');if(n){n.style.display=n.style.display==='none'?'flex':'none'}">
<button class="help-hamburger" id="help-hamburger" title="Sommaire" aria-label="Afficher le sommaire" onclick="var n=document.getElementById('help-nav');if(n){var d=n.style.display;n.style.display=(d==='none'||d==='')?'flex':'none'}">
<i data-lucide="menu" style="width:18px;height:18px"></i>
</button>
<div class="editor-title" id="help-title">Guide d'utilisation ObsiGate</div>
@@ -779,6 +779,7 @@
</div>
<div class="help-nav-search-wrap">
<input type="text" class="help-nav-search" id="help-nav-search" placeholder="Rechercher dans l'aide..." autocomplete="off" spellcheck="false">
<button class="help-search-clear" id="help-search-clear" title="Effacer la recherche" aria-label="Effacer" onclick="var s=document.getElementById('help-nav-search');if(s){s.value='';s.dispatchEvent(new Event('input'));s.focus()}">✕</button>
</div>
<ul class="help-nav-list" id="help-nav-list">
<li><a href="#help-intro" class="help-nav-link">📘 Introduction</a></li>