From c064d0d4e128dbbe61fbcd61a512cf102f2905b4 Mon Sep 17 00:00:00 2001 From: marwin Date: Wed, 29 Apr 2026 14:12:06 +0200 Subject: [PATCH] EPUB reader: constrain images to text width Prevents wide chapter images from causing horizontal overflow/scroll on mobile. Co-Authored-By: Claude Sonnet 4.6 --- static/css/app.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/css/app.css b/static/css/app.css index 5827f44..ae33a79 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -1726,6 +1726,7 @@ body.reader-immersive.reader-show-bottom .reader-overlay { bottom: var(--bar-h) /* Highlight marks */ .reader-no-bold * { font-weight: normal !important; } +.reader-content img { max-width: 100%; height: auto; display: block; } .epub-highlight { border-radius:2px; cursor:pointer; } .epub-highlight[data-color="yellow"] { background:rgba(241,196,15,.4); } .epub-highlight[data-color="green"] { background:rgba(46,204,113,.35); }