Keep search results with thumbnails until cleared in Settings; add stale-while-revalidate search and longer asset caching

This commit is contained in:
Claude
2026-10-01 22:04:51 +00:00
parent 61a8f63385
commit 14e2307a92
6 changed files with 273 additions and 58 deletions

View File

@@ -535,3 +535,13 @@
}
@media (max-width: 380px) { #nowPlayingMeta .np-actions #addBtn, #nowPlayingMeta .np-actions #serviceBtn { flex-basis: calc(50% - 8px); } }
.player-stage { flex-shrink: 0; }
/* Saved searches */
.ss-list { max-height: 280px; overflow-y: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 14px; }
.ss-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft, var(--line)); cursor: pointer; }
.ss-row:last-child { border-bottom: 0; }
.ss-row input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.ss-q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-row small { color: var(--text-dim); flex: none; font-size: 11px; }
.search-recent-clear small { opacity: 0.6; }
.topbar { position: relative; z-index: 80; } /* keeps the recent-searches dropdown above the page content */