Fit to Width calculates actual container width instead of resetting to zoom 1

Fixkamo-internal
Shipped
April 12, 2026 at 5:54 PM UTC
Author
kamo
Commit
3e5e1c5

Reads **************** (which accounts for the stable scrollbar gutter) and the page's natural width via **************** then computes fitZoom = (availableWidth - 32) / naturalPageWidth so the PDF page fills the visible area with 16px breathing room on each side.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing