Reader: Notiz-Randspalte auf dem Handy nicht automatisch öffnen (SW v45)
All checks were successful
Build and push Docker image / build (push) Successful in 16s
Test / test (push) Successful in 1m33s

Beim Öffnen eines Buchs mit Markierungen klappte die Randspalte auch auf
schmalen Bildschirmen auf und verdeckte den Text. Auf Mobil (_isMobileReader)
bleibt sie jetzt zu und ist weiter über ✎ erreichbar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
marwin 2026-09-24 10:49:09 +00:00
parent 149b64b67c
commit 9d097f5fba
2 changed files with 3 additions and 2 deletions

View file

@ -4552,7 +4552,8 @@ async function openBook(bookId) {
// If this book already has notes/highlights, surface them right away // If this book already has notes/highlights, surface them right away
// instead of making the reader hide them behind a manual toggle. // instead of making the reader hide them behind a manual toggle.
if (!isPdfBook && currentHighlights.length && !readerAnnotationsMarginOpen) { // Not on phones: there the margin covers the text; it stays one tap away (✎).
if (!isPdfBook && currentHighlights.length && !readerAnnotationsMarginOpen && !_isMobileReader()) {
toggleAnnotationsMargin(); toggleAnnotationsMargin();
} }

View file

@ -2,7 +2,7 @@
* diora service worker — caches the app shell for offline use. * diora service worker — caches the app shell for offline use.
*/ */
const CACHE = 'diora-v44'; const CACHE = 'diora-v45';
const PODCAST_CACHE = 'diora-podcast-v1'; const PODCAST_CACHE = 'diora-podcast-v1';
const SHELL = [ const SHELL = [
'/static/css/app.css', '/static/css/app.css',