Skip to content

Conversation

@VladaHarbour
Copy link
Contributor

No description provided.

@VladaHarbour VladaHarbour self-assigned this Jan 8, 2026
@linear
Copy link

linear bot commented Jan 8, 2026

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 679262ffc0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +165 to +166
};
const w = sectionPageSize.w - (sectionMargins.left + sectionMargins.right);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Measure footnotes at widest section width

This chooses the maximum content width across all sections to measure footnote blocks, so any footnote that lands on a narrower section will be measured too wide and therefore too short. The reserved height is then underestimated, which can push footnote fragments into the footer/body overlap zone on pages with smaller margins or page sizes. This shows up in multi‑section documents where later sections are narrower. Consider measuring/reserving per page (or at least using the minimum content width) so the reserved height reflects the actual page width where the footnote renders.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants