fix: mobile sidebar with hamburger toggle

This commit is contained in:
2026-07-27 11:50:10 +08:00
parent 22bfd6fc19
commit b60b35cbea
2 changed files with 16 additions and 1 deletions
+3
View File
@@ -72,6 +72,9 @@
<main class="main-content">
<header id="topbar" class="topbar">
<div class="topbar-left">
<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>
</button>
<div id="topbar-logo-title" class="topbar-logo-title hidden">
<img src="/static/img/logo.svg" alt="TurboSu" width="28" height="28">
<span class="topbar-title-text">TurboSu</span>