Files
ReaderJS/src
adminandClaude Sonnet 4.6 c076c481f8 fix: comics default to honest fit-width with working zoom
Comics were capped to viewer width by `.comic-page { max-width: 100% }`, which
made them *look* fit-to-width while the zoom dropdown dishonestly read "100%"
and zoom-in did nothing (the cap clamped it).

- Drop the max-width cap so explicit zoom works (overflow + horizontal scroll)
- ComicRenderer declares defaultScaleOption='page-width'; main.js honors a
  renderer's preferred default zoom instead of hardcoding 100% (other formats
  unchanged — they fall through to scale 1.0 with no extra re-render)

Now: opens at true fit-width (dropdown shows "Page Width"); 50%–300% all work.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 09:51:16 +02:00
..