fix(DeDocumentViewer): Account for toolbar and padding when calculating Fit Page zoom in viewer

This commit is contained in:
2025-12-11 14:50:45 +00:00
parent 79db99e919
commit 6328a2783e
4 changed files with 15 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-12-11 - 2.0.6 - fix(DeDocumentViewer)
Account for toolbar and padding when calculating Fit Page zoom in viewer
- calculateFitPage now subtracts explicit top (toolbar + padding), bottom, and side paddings from viewport dimensions before computing scale.
- This produces a more accurate zoom level for the Fit Page preset by considering toolbar height and page margins.
## 2025-12-11 - 2.0.2 - fix(page)
Use theme variables for page styling, make pagecontainer background theme-aware, and use accent background for footer separator