Closed weisJ closed 4 months ago
Can you please post screenshots demonstrating the differences? Thanks.
Without padding: Top of document is hidden by the toolbar
With padding: Toolbar doesn't hide the top of the document. The toolbar not shown as it is 32px = 2em high.
Unfortunately, this PR cannot be merged as it breaks the restoration of viewer state, which is computed based on the absolute vertical distance from the bounding box. There is no easy fix afaik.
Makes it easer to closely look at the top/bottom of the first/last page of the document.