fix: make hamburger always visible and use window prefix for onclick handlers
Some checks failed
Proyectos/simplenote-web/pipeline/head There was a failure building this commit
Some checks failed
Proyectos/simplenote-web/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -1240,7 +1240,7 @@ ul, ol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* === Mobile Navigation Drawer === */
|
/* === Mobile Navigation Drawer === */
|
||||||
.mobile-nav-btn {
|
.mobile-nav-btn { display: flex; margin-right: 8px; } .mobile-nav-btnOLD {
|
||||||
display: none;
|
display: none;
|
||||||
width: 44px;
|
width: 44px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
@@ -1317,7 +1317,7 @@ ul, ol {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-nav-btn {
|
.mobile-nav-btn { display: flex; margin-right: 8px; } .mobile-nav-btnOLD {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export async function renderProjectView(app) {
|
|||||||
|
|
||||||
appEl.innerHTML = `
|
appEl.innerHTML = `
|
||||||
<header class="app-header">
|
<header class="app-header">
|
||||||
<button class="mobile-nav-btn" onclick="toggleMobileSidebar()" title="Menu">☰</button>
|
<button class="mobile-nav-btn" onclick="window.toggleMobileSidebar()" title="Menu">☰</button>
|
||||||
<div class="logo">📝 SimpleNote</div>
|
<div class="logo">📝 SimpleNote</div>
|
||||||
<div class="breadcrumb-nav">
|
<div class="breadcrumb-nav">
|
||||||
<span class="breadcrumb-link" onclick="window.app.navigate('projects')">Projects</span>
|
<span class="breadcrumb-link" onclick="window.app.navigate('projects')">Projects</span>
|
||||||
@@ -86,10 +86,10 @@ export async function renderProjectView(app) {
|
|||||||
<button class="btn btn-ghost" onclick="window.confirmDeleteProject('${project.id}')" title="Delete Project">🗑️</button>
|
<button class="btn btn-ghost" onclick="window.confirmDeleteProject('${project.id}')" title="Delete Project">🗑️</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="sidebar-overlay" onclick="closeMobileSidebar()"></div>
|
<div class="sidebar-overlay" onclick="window.closeMobileSidebar()"></div>
|
||||||
<div class="app-layout">
|
<div class="app-layout">
|
||||||
<aside class="sidebar project-sidebar" id="sidebar">
|
<aside class="sidebar project-sidebar" id="sidebar">
|
||||||
<button class="sidebar-close-btn" onclick="closeMobileSidebar()">✕</button>
|
<button class="sidebar-close-btn" onclick="window.closeMobileSidebar()">✕</button>
|
||||||
<div class="sidebar-scroll">
|
<div class="sidebar-scroll">
|
||||||
<div class="sidebar-section">
|
<div class="sidebar-section">
|
||||||
<div class="section-header">
|
<div class="section-header">
|
||||||
|
|||||||
Reference in New Issue
Block a user