feat: tap logo to toggle sidebar on mobile
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
<button id="mobile-menu-btn" class="icon-btn" style="display:none" onclick="document.getElementById('sidebar').classList.toggle('mobile-open')">
|
<button id="mobile-menu-btn" class="icon-btn" style="display:none" onclick="document.getElementById('sidebar').classList.toggle('mobile-open')">
|
||||||
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" fill="currentColor"/></svg>
|
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" fill="currentColor"/></svg>
|
||||||
</button>
|
</button>
|
||||||
<div id="topbar-logo-title" class="topbar-logo-title hidden">
|
<div id="topbar-logo-title" class="topbar-logo-title hidden" style="cursor:pointer" onclick="document.getElementById('sidebar').classList.toggle('mobile-open')">
|
||||||
<img src="/static/img/logo.svg" alt="TurboSu" width="28" height="28">
|
<img src="/static/img/logo.svg" alt="TurboSu" width="28" height="28">
|
||||||
<span class="topbar-title-text">TurboSu</span>
|
<span class="topbar-title-text">TurboSu</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user