Remove mobile notes close button

This commit is contained in:
pewdiepie-archdaemon
2026-06-02 07:00:40 +09:00
parent b7477d063a
commit 7f9afe75e2
2 changed files with 0 additions and 16 deletions
-8
View File
@@ -1127,7 +1127,6 @@ export function openPanel() {
<span class="notes-header-btn-label">Toggle</span> <span class="notes-header-btn-label">Toggle</span>
</button> </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-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>
<div class="notes-search-bar"> <div class="notes-search-bar">
<input type="text" id="notes-search" class="memory-search-input" placeholder="Search notes…" autocomplete="off" /> <input type="text" id="notes-search" class="memory-search-input" placeholder="Search notes…" autocomplete="off" />
@@ -1190,13 +1189,6 @@ export function openPanel() {
e.stopPropagation(); e.stopPropagation();
closePanel('down'); closePanel('down');
}); });
const closeBtn = document.getElementById('notes-close-btn');
if (closeBtn) closeBtn.addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();
_forceCloseNotesPanel();
});
// Search // Search
const searchEl = document.getElementById('notes-search'); const searchEl = document.getElementById('notes-search');
if (searchEl) { if (searchEl) {
-8
View File
@@ -28373,14 +28373,6 @@ body.notes-view .chat-container { flex: 1; min-width: 0; }
body.notes-view .hamburger-btn { body.notes-view .hamburger-btn {
display: none !important; 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 /* Mobile notes UX
Tiles become read-only previews on touch 768px wide. Tiles become read-only previews on touch 768px wide.