Skip to content

Self-hosted AI workspace.

Python

Remove mobile notes close button

pewdiepie-archdaemonfd59d2d7d526
diff --git a/static/js/notes.js b/static/js/notes.js
index ee97cdeeb..44f98a420 100644
--- a/static/js/notes.js
+++ b/static/js/notes.js
@@ -1127,7 +1127,6 @@ export function openPanel() {
<span class="notes-header-btn-label">Toggle</span>
</button>
<button id="notes-minimize-btn" class="modal-minimize-btn" title="Minimize" aria-label="Minimize notes" style="position:relative;left:2px;"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.4" stroke-linecap="round" aria-hidden="true"><line x1="6" y1="18" x2="18" y2="18"/></svg></button>
- <button id="notes-close-btn" class="close-btn" title="Close" aria-label="Close notes">×</button>
</div>
<div class="notes-search-bar">
<input type="text" id="notes-search" class="memory-search-input" placeholder="Search notes…" autocomplete="off" />
@@ -1190,13 +1189,6 @@ export function openPanel() {
e.stopPropagation();
closePanel('down');
});
- const closeBtn = document.getElementById('notes-close-btn');
- if (closeBtn) closeBtn.addEventListener('click', (e) => {
- e.preventDefault();
- e.stopPropagation();
- _forceCloseNotesPanel();
- });
-
// Search
const searchEl = document.getElementById('notes-search');
if (searchEl) {
diff --git a/static/style.css b/static/style.css
index fd846af89..e0a002265 100644
--- a/static/style.css
+++ b/static/style.css
@@ -28373,14 +28373,6 @@ body.notes-view .chat-container { flex: 1; min-width: 0; }
body.notes-view .hamburger-btn {
display: none !important;
}
- body.notes-view #notes-close-btn {
- display: inline-flex !important;
- align-items: center;
- justify-content: center;
- font-size: 22px;
- font-weight: 300;
- line-height: 1;
- }
}
/* ── Mobile notes UX ────────────────────────────────────
Tiles become read-only previews on touch ≤768px wide.